Class EnsureMinimalDocument

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

public class EnsureMinimalDocument extends Object
Preprocesses instance documents to ensure required paths are present so even if the metadata framework changes, the older documents can still be edited.
Author:
ostwald

  • Method Details

    • process

      public static void process(org.dom4j.Document doc, SchemaHelper schemaHelper)
      Static method to process given Document with help of given schemaHelper
      Parameters:
      doc - instanceDocument
      schemaHelper - the schemaHelper for doc's framework