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

public Class SimpleContentExtensionState

extends SequenceState
implements AnyAttributeOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.xmlschema.AnyAttributeOwner
Imports
com.sun.msv.datatype.xsd.XSDatatype, com.sun.msv.grammar.Expression, .ReferenceExp, com.sun.msv.grammar.xmlschema.AttributeWildcard, .ComplexTypeExp, .SimpleTypeExp, .XMLSchemaSchema, com.sun.msv.reader.GrammarReader, .SequenceState, .State, com.sun.msv.reader.datatype.xsd.XSDatatypeExp, com.sun.msv.util.StartTagInfo

used to parse extension element as a child of <simpleContent> element.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected ComplexTypeExp
parentDecl

ComplexType object that we are now constructing.

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

Constructor Summary

AccessConstructor and Description
protected

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 State
createChildState(StartTagInfo tag)

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

creates appropriate child state object for this element
private Expression
getBody()

Gets the expression for the base type.

protected Expression
public void
Inherited from com.sun.msv.reader.SequenceState:
castExpression

Field Detail

parentDeclback to summary
protected ComplexTypeExp parentDecl

ComplexType object that we are now constructing.

Constructor Detail

SimpleContentExtensionStateback to summary
protected SimpleContentExtensionState(ComplexTypeExp parentDecl)

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.

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

getBodyback to summary
private Expression getBody()

Gets the expression for the base type.

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.