com.sun.msv.schematron.reader
Class SElementState

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.ExpressionWithChildState
                  extended by com.sun.msv.reader.SequenceState
                      extended by com.sun.msv.reader.trex.NameClassAndExpressionState
                          extended by com.sun.msv.reader.trex.ElementState
                              extended by com.sun.msv.reader.trex.ng.ElementState
                                  extended by com.sun.msv.schematron.reader.SElementState
All Implemented Interfaces:
ExpressionOwner, SActionReceiver, SRuleReceiver, ContentHandler

public class SElementState
extends ElementState
implements SActionReceiver, SRuleReceiver


Field Summary
 
Fields inherited from class com.sun.msv.reader.trex.NameClassAndExpressionState
nameClass
 
Fields inherited from class com.sun.msv.reader.SequenceState
allowEmptySequence
 
Fields inherited from class com.sun.msv.reader.ExpressionWithChildState
exp
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
SElementState()
           
 
Method Summary
protected  Expression annealExpression(Expression contentModel)
          performs final wrap-up and returns a fully created Expression object that represents this element.
protected  State createChildState(StartTagInfo tag)
          creates appropriate child state object for this element
 void onAssert(SAction action)
           
 void onReport(SAction action)
           
 void onRule(SRule rule)
           
 
Methods inherited from class com.sun.msv.reader.trex.ng.ElementState
endSelf, startSelf
 
Methods inherited from class com.sun.msv.reader.trex.NameClassAndExpressionState
getNamespace, onEndChild
 
Methods inherited from class com.sun.msv.reader.SequenceState
castExpression, initialExpression
 
Methods inherited from class com.sun.msv.reader.ExpressionWithChildState
defaultExpression, makeExpression, onEndChild
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SElementState

public SElementState()
Method Detail

createChildState

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

Overrides:
createChildState in class NameClassAndExpressionState

onAssert

public void onAssert(SAction action)
Specified by:
onAssert in interface SActionReceiver

onReport

public void onReport(SAction action)
Specified by:
onReport in interface SActionReceiver

onRule

public void onRule(SRule rule)
Specified by:
onRule in interface SRuleReceiver

annealExpression

protected Expression annealExpression(Expression contentModel)
Description copied from class: ExpressionWithChildState
performs final wrap-up and returns a fully created Expression object that represents this element.

Overrides:
annealExpression in class ElementState


MSV