public class RestrictionState extends SimpleState implements FacetStateParent
| Modifier and Type | Field and Description |
|---|---|
protected XSTypeIncubator |
incubator |
protected String |
newTypeName |
protected String |
newTypeUri |
protected XSDatatypeExp |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
RestrictionState(String newTypeUri,
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
|
void |
endSelf()
this method is called in endElement method
when the state is about to be removed.
|
XSTypeIncubator |
getIncubator()
gets an incubator object that the owner holds.
|
String |
getTargetNamespaceUri() |
protected XSDatatypeExp |
makeType()
This method is called from endElement method.
|
void |
onEndChild(XSDatatypeExp child)
receives a Pattern object that is contained in this element.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
protected void |
startSelf()
performs a task that should be done before reading any child elements.
|
endDocument, 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 String newTypeUri
protected final String newTypeName
protected XSTypeIncubator incubator
protected XSDatatypeExp type
public final XSTypeIncubator getIncubator()
FacetStateParentgetIncubator in interface FacetStateParentprotected XSDatatypeExp annealType(XSDatatypeExp baseType) throws org.relaxng.datatype.DatatypeException
org.relaxng.datatype.DatatypeExceptionpublic void onEndChild(XSDatatypeExp child)
onEndChild in interface XSTypeOwnerprotected void startSelf()
Stateprotected State createChildState(StartTagInfo tag)
SimpleStatecreateChildState in class SimpleStateprotected final XSDatatypeExp makeType() throws org.relaxng.datatype.DatatypeException
org.relaxng.datatype.DatatypeExceptionpublic final String getTargetNamespaceUri()
public void endSelf()
SimpleStateendSelf in class SimpleStatepublic final void startElement(String namespaceURI, String localName, String qName, Attributes atts)
startElement in interface ContentHandlerstartElement in class SimpleStateCopyright © 2016 Oracle Corporation. All Rights Reserved.