class PropertiesProcessor implements PreProcessor {

    public Document process(Document input) throws TransformerException {
        Document doc = Xml.copyDocument(input);
        final Document document = buildProperties(doc);
        applyProperties(document.getDocumentElement());
        return document;
    }

      PropertiesProcessor();

}