DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.input
Class DocumentPruner

java.lang.Object
  extended by 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 Summary
static void pruneDocument(Document doc, SchemaHelper schemaHelper)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

pruneDocument

public static void pruneDocument(Document doc,
                                 SchemaHelper schemaHelper)
Description of the Method

Parameters:
doc - Description of the Parameter
schemaHelper - Description of the Parameter

DLESE Tools
v1.6.0