public class RestrictionState extends TypeWithOneChildState implements FacetStateParent
| Modifier and Type | Field and Description |
|---|---|
protected XSTypeIncubator |
incubator |
protected java.lang.String |
newTypeName |
protected java.lang.String |
newTypeUri |
type| Modifier | Constructor and Description |
|---|---|
protected |
RestrictionState(java.lang.String newTypeUri,
java.lang.String newTypeName) |
| Modifier and Type | Method and Description |
|---|---|
protected XSDatatypeExp |
annealType(XSDatatypeExp baseType)
performs final wrap-up and returns a fully created DataType object
that represents this element.
|
protected State |
createChildState(StartTagInfo tag)
creates appropriate child state object for this element
|
private void |
createTypeIncubator() |
XSTypeIncubator |
getIncubator()
gets an incubator object that the owner holds.
|
void |
onEndChild(XSDatatypeExp child)
receives a Pattern object that is contained in this element.
|
protected void |
startSelf()
performs a task that should be done before reading any child elements.
|
makeType_makeType, endSelf, getTargetNamespaceUri, startElementendDocument, endElement, isGrammarElement_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetNamespaceUriprotected final java.lang.String newTypeUri
protected final java.lang.String newTypeName
protected XSTypeIncubator incubator
protected RestrictionState(java.lang.String newTypeUri,
java.lang.String newTypeName)
public final XSTypeIncubator getIncubator()
FacetStateParentgetIncubator in interface FacetStateParentprotected XSDatatypeExp annealType(XSDatatypeExp baseType) throws org.relaxng.datatype.DatatypeException
TypeWithOneChildStateannealType in class TypeWithOneChildStateorg.relaxng.datatype.DatatypeExceptionpublic void onEndChild(XSDatatypeExp child)
TypeWithOneChildStateonEndChild in interface XSTypeOwneronEndChild in class TypeWithOneChildStateprivate void createTypeIncubator()
protected void startSelf()
Stateprotected State createChildState(StartTagInfo tag)
SimpleStatecreateChildState in class SimpleState