class DefinitionResolver {

    static double obtainResolutionFactor() {
        final String resolution = System.getProperty(BPMN_DIAGRAM_RESOLUTION_PROPERTY);
        if (null != resolution && resolution.trim().length() > 0) {
            try {
                return Double.parseDouble(resolution);
            } catch (NumberFormatException e) {
                LOG.error("Error parsing the BPMN diagram's resolution - marshalling factor... " +
                                  "Using as default [" + DEFAULT_RESOLUTION + "].", e);
            }
        }
        return DEFAULT_RESOLUTION;
    }

    public  DefinitionResolver(
            Definitions definitions,
            Collection<WorkItemDefinition> workItemDefinitions,
            boolean jbpm,
            Mode mode);
    public  DefinitionResolver(Definitions definitions,
                              Collection<WorkItemDefinition> workItemDefinitions);

}