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.
|
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.
|
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.
|
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
private java.lang.String base
private java.lang.String[] baseTypeName
private XMLSchemaSchema baseSchema
protected SimpleContentRestrictionState(ComplexTypeExp parentDecl)
public void setAttributeWildcard(AttributeWildcard local)
AnyAttributeOwnersetAttributeWildcard in interface AnyAttributeOwnerpublic XSTypeIncubator getIncubator()
FacetStateParentgetIncubator in interface FacetStateParentpublic java.lang.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 ExpressionWithChildState