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, startPrefixMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTargetNamespaceUri
protected final String newTypeUri
protected final String newTypeName
protected State createChildState(StartTagInfo tag)
SimpleState
createChildState
in class SimpleState
protected void startSelf()
State
public void onEndChild(XSDatatypeExp type)
onEndChild
in interface XSTypeOwner
protected final XSDatatypeExp makeType() throws org.relaxng.datatype.DatatypeException
org.relaxng.datatype.DatatypeException
public final String getTargetNamespaceUri()
public void endSelf()
SimpleState
endSelf
in class SimpleState
public final void startElement(String namespaceURI, String localName, String qName, Attributes atts)
startElement
in interface ContentHandler
startElement
in class SimpleState
Copyright © 2016 Oracle Corporation. All rights reserved.