public class UnionState extends SimpleState implements XSTypeOwner
| Modifier and Type | Field and Description |
|---|---|
protected String |
newTypeName |
protected String |
newTypeUri |
| Modifier | Constructor and Description |
|---|---|
protected |
UnionState(String newTypeUri,
String newTypeName) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getTargetNamespaceUri() |
protected XSDatatypeExp |
makeType()
This method is called from endElement method.
|
void |
onEndChild(XSDatatypeExp type) |
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 State createChildState(StartTagInfo tag)
SimpleStatecreateChildState in class SimpleStateprotected void startSelf()
Statepublic void onEndChild(XSDatatypeExp type)
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 © 2016 Oracle Corporation. All Rights Reserved.