com.sun.msv.relaxns.reader
Class GrammarState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by com.sun.msv.relaxns.reader.GrammarState
All Implemented Interfaces:
ContentHandler

public class GrammarState
extends SimpleState

parses <grammar> element.

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
GrammarState()
           
 
Method Summary
protected  State createChildState(StartTagInfo tag)
          creates appropriate child state object for this element
protected  RELAXNSReader getReader()
          gets reader in type-safe fashion
protected  void startSelf()
          performs a task that should be done before reading any child elements.
 
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, endSelf, isGrammarElement, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrammarState

public GrammarState()
Method Detail

getReader

protected RELAXNSReader getReader()
gets reader in type-safe fashion


createChildState

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

Specified by:
createChildState in class SimpleState

startSelf

protected void startSelf()
Description copied from class: State
performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.

Overrides:
startSelf in class State


MSV