public class SimpleTypeState extends SimpleState
| Modifier and Type | Field and Description |
|---|---|
protected XSDatatypeExp |
type |
| Constructor and Description |
|---|
SimpleTypeState() |
| Modifier and Type | Method and Description |
|---|---|
protected XSDatatypeExp |
annealType(XSDatatypeExp dt)
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.
|
int |
getFinalValue(String list)
parses final attribute
|
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) |
endDocument, endElement, isGrammarElement_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetNamespaceUriprotected XSDatatypeExp type
protected State createChildState(StartTagInfo tag)
SimpleStatecreateChildState in class SimpleStateprotected XSDatatypeExp annealType(XSDatatypeExp dt)
public int getFinalValue(String list)
public void onEndChild(XSDatatypeExp child)
onEndChild in interface XSTypeOwnerprotected 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 © 2014 Oracle Corporation. All Rights Reserved.