public class SimpleContentRestrictionState extends SequenceState implements FacetStateParent, XSTypeOwner, AnyAttributeOwner
Modifier and Type | Field and Description |
---|---|
protected XSTypeIncubator |
incubator
used to restrict simpleType
|
protected ComplexTypeExp |
parentDecl
ComplexType object that we are now constructing.
|
allowEmptySequence
exp
Modifier | Constructor and Description |
---|---|
protected |
SimpleContentRestrictionState(ComplexTypeExp parentDecl) |
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 State |
createChildState(StartTagInfo tag)
creates appropriate child state object for this element
|
XSTypeIncubator |
getIncubator()
gets an incubator object that the owner holds.
|
String |
getTargetNamespaceUri()
Returns the target namespace URI of newly created simple types.
|
protected Expression |
initialExpression()
sets initial pattern
|
void |
onEndChild(XSDatatypeExp child) |
void |
setAttributeWildcard(AttributeWildcard local)
Sets the attribtue wildcard.
|
protected void |
startSelf()
performs a task that should be done before reading any child elements.
|
castExpression
defaultExpression, makeExpression, onEndChild
endSelf
endDocument, endElement, isGrammarElement, startElement
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
protected ComplexTypeExp parentDecl
protected XSTypeIncubator incubator
protected SimpleContentRestrictionState(ComplexTypeExp parentDecl)
public void setAttributeWildcard(AttributeWildcard local)
AnyAttributeOwner
setAttributeWildcard
in interface AnyAttributeOwner
public XSTypeIncubator getIncubator()
FacetStateParent
getIncubator
in interface FacetStateParent
public String getTargetNamespaceUri()
XSTypeOwner
getTargetNamespaceUri
in interface XSTypeOwner
public void onEndChild(XSDatatypeExp child)
onEndChild
in interface XSTypeOwner
protected State createChildState(StartTagInfo tag)
SimpleState
createChildState
in class ExpressionWithChildState
protected Expression initialExpression()
ExpressionWithChildState
initialExpression
in class SequenceState
protected void startSelf()
State
startSelf
in class ExpressionWithChildState
protected Expression annealExpression(Expression exp)
ExpressionWithChildState
annealExpression
in class ExpressionWithChildState
Copyright © 2016 Oracle Corporation. All rights reserved.