Top Description Fields Constructors Methods
com.sun.msv.reader.trex

public Class AttributeState

extends NameClassAndExpressionState
Class Inheritance
Known Direct Subclasses
com.sun.msv.reader.trex.ng.AttributeState
Imports
com.sun.msv.grammar.AttributeExp, .Expression

parses <attribute> pattern.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected boolean
Inherited from com.sun.msv.reader.trex.NameClassAndExpressionState:
nameClass

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Expression
annealExpression(Expression contentModel)

Overrides com.sun.msv.reader.ExpressionWithChildState.annealExpression.

performs final wrap-up and returns a fully created Expression object that represents this element.
protected Expression
castExpression(Expression initialExpression, Expression newChild)

Overrides com.sun.msv.reader.SequenceState.castExpression.

combines half-made expression and newly found child expression into the expression.
protected String
getNamespace()

Overrides com.sun.msv.reader.trex.NameClassAndExpressionState.getNamespace.

gets namespace URI to which this declaration belongs
protected Expression
Inherited from com.sun.msv.reader.trex.NameClassAndExpressionState:
createChildStateendSelfonEndChildstartSelf

Field Detail

firstChildback to summary
protected boolean firstChild

Constructor Detail

AttributeStateback to summary
public AttributeState()

Method Detail

annealExpressionback to summary
protected Expression annealExpression(Expression contentModel)

Overrides com.sun.msv.reader.ExpressionWithChildState.annealExpression.

Doc from com.sun.msv.reader.ExpressionWithChildState.annealExpression.

performs final wrap-up and returns a fully created Expression object that represents this element.

castExpressionback to summary
protected Expression castExpression(Expression initialExpression, Expression newChild)

Overrides com.sun.msv.reader.SequenceState.castExpression.

Doc from com.sun.msv.reader.ExpressionWithChildState.castExpression.

combines half-made expression and newly found child expression into the expression.

Say this container has three child expression exp1,exp2, and exp3. Then, the expression of this state will be made by the following method invocations.

  annealExpression(
    castExpression(
      castExpression(
        castExpression(null,exp1), exp2), exp3 ) )
getNamespaceback to summary
protected String getNamespace()

Overrides com.sun.msv.reader.trex.NameClassAndExpressionState.getNamespace.

Doc from com.sun.msv.reader.trex.NameClassAndExpressionState.getNamespace.

gets namespace URI to which this declaration belongs

initialExpressionback to summary
protected Expression initialExpression()

Overrides com.sun.msv.reader.SequenceState.initialExpression.

Doc from com.sun.msv.reader.ExpressionWithChildState.initialExpression.

sets initial pattern