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

public Class MixedState

extends ExpressionWithChildState
Class Inheritance
Imports
com.sun.msv.grammar.Expression, com.sun.msv.reader.ExpressionWithChildState

parses <mixed> element.
Author
Kohsuke KAWAGUCHI

Field Summary

Inherited from com.sun.msv.reader.ExpressionWithChildState:
exp

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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 current, Expression child)

Implements abstract com.sun.msv.reader.ExpressionWithChildState.castExpression.

combines half-made expression and newly found child expression into the expression.
Inherited from com.sun.msv.reader.ExpressionWithChildState:
createChildStatedefaultExpressioninitialExpressionmakeExpressiononEndChildstartSelf

Constructor Detail

MixedStateback to summary
public MixedState()

Method Detail

annealExpressionback to summary
protected Expression annealExpression(Expression exp)

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 current, Expression child)

Implements abstract com.sun.msv.reader.ExpressionWithChildState.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 ) )