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

public Class GroupState

extends RedefinableDeclState
Class Inheritance
Imports
org.xml.sax.Locator, com.sun.msv.grammar.Expression, .ReferenceContainer, com.sun.msv.grammar.xmlschema.GroupDeclExp, .XMLSchemaSchema, com.sun.msv.reader.State, com.sun.msv.util.StartTagInfo

used to parse <group> element.
Author
Kohsuke KAWAGUCHI

Field Summary

Inherited from com.sun.msv.reader.xmlschema.RedefinableDeclState:
oldDecl

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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 halfCastedExpression, Expression newChildExpression)

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

combines half-made expression and newly found child expression into the expression.
protected State
createChildState(StartTagInfo tag)

Overrides com.sun.msv.reader.ExpressionWithChildState.createChildState.

creates appropriate child state object for this element
protected ReferenceContainer
getContainer()

Implements abstract com.sun.msv.reader.xmlschema.RedefinableDeclState.getContainer.

gets appropriate ReferenceContainer to store this declaration.
protected Expression
Inherited from com.sun.msv.reader.xmlschema.RedefinableDeclState:
endSelfisGlobalisRedefinestartSelf

Constructor Detail

GroupStateback to summary
public GroupState()

Method Detail

annealExpressionback to summary
protected Expression annealExpression(Expression contentType)

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 halfCastedExpression, Expression newChildExpression)

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 ) )
createChildStateback to summary
protected State createChildState(StartTagInfo tag)

Overrides com.sun.msv.reader.ExpressionWithChildState.createChildState.

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

creates appropriate child state object for this element

getContainerback to summary
protected ReferenceContainer getContainer()

Implements abstract com.sun.msv.reader.xmlschema.RedefinableDeclState.getContainer.

Doc from com.sun.msv.reader.xmlschema.RedefinableDeclState.getContainer.

gets appropriate ReferenceContainer to store this declaration.

initialExpressionback to summary
protected Expression initialExpression()

Overrides com.sun.msv.reader.ExpressionWithChildState.initialExpression.

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

sets initial pattern