public class ComplexContentBodyState extends SequenceState implements AnyAttributeOwner
| Modifier and Type | Field 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.
|
allowEmptySequenceexp| Modifier | Constructor and Description |
|---|---|
protected |
ComplexContentBodyState(ComplexTypeExp parentDecl,
boolean extension) |
| Modifier and Type | Method and Description |
|---|---|
protected Expression |
annealExpression(Expression exp)
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)
creates appropriate child state object for this element
|
protected Expression |
initialExpression()
sets initial pattern
|
void |
setAttributeWildcard(AttributeWildcard local)
Sets the attribtue wildcard.
|
castExpressiondefaultExpression, makeExpression, onEndChild, startSelfendSelfendDocument, endElement, isGrammarElement, startElement_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingprotected ComplexTypeExp parentDecl
protected boolean extension
protected ComplexContentBodyState(ComplexTypeExp parentDecl, boolean extension)
protected State createChildState(StartTagInfo tag)
SimpleStatecreateChildState in class ExpressionWithChildStatepublic void setAttributeWildcard(AttributeWildcard local)
AnyAttributeOwnersetAttributeWildcard in interface AnyAttributeOwnerprotected Expression initialExpression()
ExpressionWithChildStateinitialExpression in class SequenceStateprotected Expression annealExpression(Expression exp)
ExpressionWithChildStateannealExpression in class ExpressionWithChildStateprotected Expression combineToBaseType(ComplexTypeExp baseType, Expression addedExp)
Copyright © 2016 Oracle Corporation. All Rights Reserved.