com.sun.msv.relaxns.reader
Class TopLevelState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by com.sun.msv.reader.relax.HedgeRuleBaseState
              extended by com.sun.msv.relaxns.reader.TopLevelState
All Implemented Interfaces:
ExpressionOwner, ContentHandler

public class TopLevelState
extends HedgeRuleBaseState

parses <topLevel> element.

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
TopLevelState()
           
 
Method Summary
protected  State createChildState(StartTagInfo tag)
          creates appropriate child state object for this element
protected  void endSelf(Expression contentModel)
          derived class will receive child expression by this method
protected  boolean isGrammarElement(StartTagInfo tag)
          checks if this element belongs to the grammar.
 
Methods inherited from class com.sun.msv.reader.relax.HedgeRuleBaseState
endSelf, onEndChild
 
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, startElement
 
Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopLevelState

public TopLevelState()
Method Detail

endSelf

protected void endSelf(Expression contentModel)
Description copied from class: HedgeRuleBaseState
derived class will receive child expression by this method

Specified by:
endSelf in class HedgeRuleBaseState

createChildState

protected State createChildState(StartTagInfo tag)
Description copied from class: SimpleState
creates appropriate child state object for this element

Overrides:
createChildState in class HedgeRuleBaseState

isGrammarElement

protected boolean isGrammarElement(StartTagInfo tag)
Description copied from class: SimpleState
checks if this element belongs to the grammar.

Overrides:
isGrammarElement in class SimpleState


MSV