class EvaluateXQuery extends AbstractProcessor {

    private Properties getTransformerProperties(ProcessContext context) {
        final String method = context.getProperty(XML_OUTPUT_METHOD).getValue();
        boolean indent = context.getProperty(XML_OUTPUT_INDENT).asBoolean();
        boolean omitDeclaration = context.getProperty(XML_OUTPUT_OMIT_XML_DECLARATION).asBoolean();
        return getTransformerProperties(method, indent, omitDeclaration);
    }

}