wt.dataops.archivesystem.tools
Class ElementDictionaryGenerator

java.lang.Object
  extended bywt.dataops.archivesystem.tools.ElementDictionaryGenerator

class ElementDictionaryGenerator
extends Object


Nested Class Summary
protected static class ElementDictionaryGenerator.DTDFileNameFilter
           
 
Field Summary
static boolean DEBUG
           
static Hashtable parents
           
static Hashtable reverseTree
           
 
Constructor Summary
(package private) ElementDictionaryGenerator()
           
 
Method Summary
static void addWildcardElements(XMLNode doc)
           
static void buildInsideOutTree(DTDItem item, DTDOutput parent)
           
static void buildParentTree(Object pa, ReverseHierarchy rh, String spaces)
           
protected static String createInputSourceForDTD(String systemId)
           
protected static String getFileContentsAsString(File file)
           
static void main(String[] args)
           
static String storeDocument(Document doc, String dtd, String localPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parents

public static Hashtable parents

reverseTree

public static Hashtable reverseTree

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

ElementDictionaryGenerator

ElementDictionaryGenerator()
Method Detail

main

public static void main(String[] args)

buildInsideOutTree

public static void buildInsideOutTree(DTDItem item,
                                      DTDOutput parent)

buildParentTree

public static void buildParentTree(Object pa,
                                   ReverseHierarchy rh,
                                   String spaces)

storeDocument

public static String storeDocument(Document doc,
                                   String dtd,
                                   String localPath)

createInputSourceForDTD

protected static String createInputSourceForDTD(String systemId)

getFileContentsAsString

protected static String getFileContentsAsString(File file)
                                         throws IOException
Throws:
IOException

addWildcardElements

public static void addWildcardElements(XMLNode doc)