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.
|
allowEmptySequenceexp| 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.
|
castExpressiondefaultExpression, makeExpression, onEndChildendSelfendDocument, endElement, isGrammarElement, startElement_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingprotected ComplexTypeExp parentDecl
protected XSTypeIncubator incubator
protected SimpleContentRestrictionState(ComplexTypeExp parentDecl)
public void setAttributeWildcard(AttributeWildcard local)
AnyAttributeOwnersetAttributeWildcard in interface AnyAttributeOwnerpublic XSTypeIncubator getIncubator()
FacetStateParentgetIncubator in interface FacetStateParentpublic String getTargetNamespaceUri()
XSTypeOwnergetTargetNamespaceUri in interface XSTypeOwnerpublic void onEndChild(XSDatatypeExp child)
onEndChild in interface XSTypeOwnerprotected State createChildState(StartTagInfo tag)
SimpleStatecreateChildState in class ExpressionWithChildStateprotected Expression initialExpression()
ExpressionWithChildStateinitialExpression in class SequenceStateprotected void startSelf()
StatestartSelf in class ExpressionWithChildStateprotected Expression annealExpression(Expression exp)
ExpressionWithChildStateannealExpression in class ExpressionWithChildStateCopyright © 2014 Oracle Corporation. All Rights Reserved.