Class PropertyDeprecationRemover

    • Method Detail

      • transform

        public boolean transform​(ExportedDocument xdoc)
        Description copied from interface: DocumentTransformer
        Transforms the given document and returns true to pass to the next transformer or false to exit from the transformation chain.
        Specified by:
        transform in interface DocumentTransformer
        Parameters:
        xdoc - the document to transform
        Returns:
        true to continue with the next transformer or false to exit transformation chain
      • handleProperty

        protected void handleProperty​(org.dom4j.Element schema,
                                      String propertyToRemove)
      • getParent

        protected org.dom4j.Element getParent​(int count,
                                              org.dom4j.Element elementToRemove)
      • moveProperty

        protected void moveProperty​(org.dom4j.Element schema,
                                    org.dom4j.Element parent,
                                    org.dom4j.Element elementToRemove,
                                    String fallback)