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

public Class ComplexContentBodyState

extends SequenceState
implements AnyAttributeOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.xmlschema.AnyAttributeOwner
Imports
com.sun.msv.grammar.Expression, com.sun.msv.grammar.xmlschema.AttributeWildcard, .ComplexTypeExp, com.sun.msv.reader.SequenceState, .State, com.sun.msv.util.StartTagInfo

used to parse restriction/extension element as a child of complexContent element.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected boolean
extension

if this state is used to parse <extension>, then true.

protected ComplexTypeExp
parentDecl

ComplexType object that we are now constructing.

Inherited from com.sun.msv.reader.SequenceState:
allowEmptySequence

Constructor Summary

AccessConstructor and Description
protected
ComplexContentBodyState(ComplexTypeExp parentDecl, boolean extension)

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
combineToBaseType(ComplexTypeExp baseType, Expression addedExp)

combines the base type content model and this content model

protected State
createChildState(StartTagInfo tag)

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

creates appropriate child state object for this element
protected Expression
public void
Inherited from com.sun.msv.reader.SequenceState:
castExpression

Field Detail

extensionback to summary
protected boolean extension

if this state is used to parse <extension>, then true. if this state is used to parse <restension>, then false.

parentDeclback to summary
protected ComplexTypeExp parentDecl

ComplexType object that we are now constructing.

Constructor Detail

ComplexContentBodyStateback to summary
protected ComplexContentBodyState(ComplexTypeExp parentDecl, boolean extension)

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.

combineToBaseTypeback to summary
protected Expression combineToBaseType(ComplexTypeExp baseType, Expression addedExp)

combines the base type content model and this content model

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

initialExpressionback to summary
protected Expression initialExpression()

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

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

sets initial pattern

setAttributeWildcardback to summary
public void setAttributeWildcard(AttributeWildcard local)

Implements com.sun.msv.reader.xmlschema.AnyAttributeOwner.setAttributeWildcard.

Doc from com.sun.msv.reader.xmlschema.AnyAttributeOwner.setAttributeWildcard.

Sets the attribtue wildcard.