com.sun.msv.relaxns.reader
Class RootGrammarState

java.lang.Object
  extended bycom.sun.msv.reader.State
      extended bycom.sun.msv.reader.SimpleState
          extended bycom.sun.msv.relaxns.reader.RootGrammarState
All Implemented Interfaces:
ContentHandler, ExpressionOwner

public class RootGrammarState
extends SimpleState
implements ExpressionOwner

invokes State object that parses the document element. this state is used only one when starting parsing a RELAX schema. For included module/grammar, different states are used.

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
reader
 
Constructor Summary
RootGrammarState()
           
 
Method Summary
 void onEndChild(Expression exp)
           
 
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, startElement
 
Methods inherited from class com.sun.msv.reader.State
_assert, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootGrammarState

public RootGrammarState()
Method Detail

onEndChild

public final void onEndChild(Expression exp)
Specified by:
onEndChild in interface ExpressionOwner