FacetStateParent
, XSTypeOwner
, ExpressionOwner
, AnyAttributeOwner
, ContentHandler
public class SimpleContentRestrictionState extends SequenceState implements FacetStateParent, XSTypeOwner, AnyAttributeOwner
Modifier and Type | Field | Description |
---|---|---|
protected XSTypeIncubator |
incubator |
used to restrict simpleType
|
protected ComplexTypeExp |
parentDecl |
ComplexType object that we are now constructing.
|
exp
allowEmptySequence
Modifier | Constructor | Description |
---|---|---|
protected |
SimpleContentRestrictionState(ComplexTypeExp parentDecl) |
Modifier and Type | Method | 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.
|
endSelf
defaultExpression, makeExpression, onEndChild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
castExpression
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 © 2019 Oracle Corporation. All rights reserved.