Class DocumentPruner

java.lang.Object
org.dlese.dpc.schemedit.input.DocumentPruner

public class DocumentPruner extends Object
Prunes empty, non-schema-required elements and attributes from a Document. Pruning is performed in place (i.e., as a side effect. no value is returned);
Author:
ostwald
  • Method Details

    • pruneDocument

      public static void pruneDocument(org.dom4j.Document doc, SchemaHelper schemaHelper)
      Description of the Method
      Parameters:
      doc - Description of the Parameter
      schemaHelper - Description of the Parameter