public class SimpleContentRestrictionState extends SequenceState implements FacetStateParent, XSTypeOwner, AnyAttributeOwner
Modifier and Type | Class and Description |
---|---|
private class |
SimpleContentRestrictionState.BaseContentTypeRenderer |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
base
value of the base attribute.
|
private XMLSchemaSchema |
baseSchema
XMLSchemaSchema object of the base type.
|
private java.lang.String[] |
baseTypeName
Namespace URI and local name of the base attribute.
|
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.
|
java.lang.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
private java.lang.String base
private java.lang.String[] baseTypeName
private XMLSchemaSchema baseSchema
protected SimpleContentRestrictionState(ComplexTypeExp parentDecl)
public void setAttributeWildcard(AttributeWildcard local)
AnyAttributeOwner
setAttributeWildcard
in interface AnyAttributeOwner
public XSTypeIncubator getIncubator()
FacetStateParent
getIncubator
in interface FacetStateParent
public java.lang.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