org.merlotxml.util.xml.xerces
Class Schema

java.lang.Object
  extended byorg.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

Constructor Summary
Schema(GrammarDocument doc)
           
 
Method Summary
 java.lang.String getDocumentation(MerlotDOMNode node)
           
 GrammarDocument getGrammarDocument()
           
static Schema getInstance()
           
 java.lang.String[] getPathToThisElement(MerlotDOMNode node)
           
 void setDocument(org.w3c.dom.Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema(GrammarDocument doc)
Method Detail

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)