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, startElement
endDocument, endElement, isGrammarElement
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTargetNamespaceUri
protected 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()
FacetStateParent
getIncubator
in interface FacetStateParent
protected XSDatatypeExp annealType(XSDatatypeExp baseType) throws org.relaxng.datatype.DatatypeException
TypeWithOneChildState
annealType
in class TypeWithOneChildState
org.relaxng.datatype.DatatypeException
public void onEndChild(XSDatatypeExp child)
TypeWithOneChildState
onEndChild
in interface XSTypeOwner
onEndChild
in class TypeWithOneChildState
private void createTypeIncubator()
protected void startSelf()
State
protected State createChildState(StartTagInfo tag)
SimpleState
createChildState
in class SimpleState