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.
|
allowEmptySequence
exp
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.
|
castExpression
defaultExpression, makeExpression, onEndChild, startSelf
endSelf
endDocument, endElement, isGrammarElement, startElement
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
protected ComplexTypeExp parentDecl
protected boolean extension
protected ComplexContentBodyState(ComplexTypeExp parentDecl, boolean extension)
protected State createChildState(StartTagInfo tag)
SimpleState
createChildState
in class ExpressionWithChildState
public void setAttributeWildcard(AttributeWildcard local)
AnyAttributeOwner
setAttributeWildcard
in interface AnyAttributeOwner
protected Expression initialExpression()
ExpressionWithChildState
initialExpression
in class SequenceState
protected Expression annealExpression(Expression exp)
ExpressionWithChildState
annealExpression
in class ExpressionWithChildState
protected Expression combineToBaseType(ComplexTypeExp baseType, Expression addedExp)
Copyright © 2016 Oracle Corporation. All rights reserved.