com.sun.msv.reader
Class ExpressionWithoutChildState

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.ExpressionWithoutChildState
All Implemented Interfaces:
ContentHandler
Direct Known Subclasses:
AnyOtherElementState, AnyState, AttPoolRefState, DataState, ElementRefState, ElementRefState, HedgeRefState, IncludePatternState, RefState, StringState, TerminalState, ValueState

public abstract class ExpressionWithoutChildState
extends ExpressionState

Base implementation for those states who cannot have any children. (e.g., RELAX: empty, null, etc. TREX: anyString, notAllowed, etc.) Note that this class does not prohibit children from different namespace. Those "foreign" elements are just ignored.

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
ExpressionWithoutChildState()
           
 
Method Summary
protected  State createChildState(StartTagInfo tag)
          creates appropriate child state object for this element
 
Methods inherited from class com.sun.msv.reader.ExpressionState
endSelf, makeExpression
 
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, 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, startSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionWithoutChildState

public ExpressionWithoutChildState()
Method Detail

createChildState

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

Specified by:
createChildState in class SimpleState


MSV