Top Description Fields Constructors Methods
com.sun.msv.reader.relax.core

pack-priv abstract Class ClauseState

extends SimpleState
implements ExpressionOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.ExpressionOwner
Known Direct Subclasses
com.sun.msv.reader.relax.core.InlineTagState, com.sun.msv.reader.relax.core.TagState, com.sun.msv.reader.relax.core.AttPoolState
Imports
com.sun.msv.grammar.Expression, com.sun.msv.reader.ExpressionOwner, .SimpleState, .State, com.sun.msv.util.StartTagInfo

common part of <tag> and <attPool>.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected Expression
exp

expression object that is being created.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected Expression
protected State
createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

creates appropriate child state object for this element
protected RELAXCoreReader
getReader()

gets reader in type-safe fashion

protected Expression
public final void
onEndChild(Expression childExpression)

Implements com.sun.msv.reader.ExpressionOwner.onEndChild.

receives a Pattern object that is contained in this element.
Inherited from com.sun.msv.reader.SimpleState:
endDocumentendElementendSelfisGrammarElementstartElement

Field Detail

expback to summary
protected Expression exp

expression object that is being created. See castPattern and annealPattern methods for how will a pattern be created.

Constructor Detail

ClauseStateback to summary
pack-priv ClauseState()

Method Detail

castExpressionback to summary
protected Expression castExpression(Expression exp, Expression child)
createChildStateback to summary
protected State createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

Doc from com.sun.msv.reader.SimpleState.createChildState.

creates appropriate child state object for this element

getReaderback to summary
protected RELAXCoreReader getReader()

gets reader in type-safe fashion

initialExpressionback to summary
protected Expression initialExpression()
onEndChildback to summary
public final void onEndChild(Expression childExpression)

Implements com.sun.msv.reader.ExpressionOwner.onEndChild.

receives a Pattern object that is contained in this element.