com.sun.msv.reader.trex
Class DivInGrammarState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by com.sun.msv.reader.ExpressionState
              extended by com.sun.msv.reader.trex.DivInGrammarState
All Implemented Interfaces:
ExpressionOwner, ContentHandler
Direct Known Subclasses:
GrammarState

public class DivInGrammarState
extends ExpressionState
implements ExpressionOwner

Used to parse merged grammars. Also <div> element in the grammar element (of RELAX NG). DivInGrammarState itself should not be a ExpressionState. However, GrammarState, which is a derived class of this class, is a ExpressionState. Therefore this class has to extend ExpressionState.

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
reader
 
Constructor Summary
DivInGrammarState()
           
 
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

DivInGrammarState

public DivInGrammarState()
Method Detail

onEndChild

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