org.merlotxml.util.xml.xerces
Class Schema
java.lang.Object
org.merlotxml.util.xml.xerces.Schema
- public class Schema
- extends java.lang.Object
This makes the schema available as a org.w3c.dom.Document so that
documentation contained in the schema file can be accessed. This is necessary
because Xerces has not yet implemented the method for accessing the
documentation.
- Author:
- Evert Hoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Schema
public Schema(GrammarDocument doc)
getInstance
public static Schema getInstance()
getGrammarDocument
public GrammarDocument getGrammarDocument()
setDocument
public void setDocument(org.w3c.dom.Document document)
getDocumentation
public java.lang.String getDocumentation(MerlotDOMNode node)
getPathToThisElement
public java.lang.String[] getPathToThisElement(MerlotDOMNode node)