Package org.dlese.dpc.schemedit.input
Class DocumentPruner
java.lang.Object
org.dlese.dpc.schemedit.input.DocumentPruner
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 Summary
Modifier and TypeMethodDescriptionstatic voidpruneDocument(org.dom4j.Document doc, SchemaHelper schemaHelper) Description of the Method
-
Method Details
-
pruneDocument
Description of the Method- Parameters:
doc- Description of the ParameterschemaHelper- Description of the Parameter
-