public class UnionState extends TypeState implements XSTypeOwner
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList |
memberTypes |
protected java.lang.String |
newTypeName |
protected java.lang.String |
newTypeUri |
Modifier | Constructor and Description |
---|---|
protected |
UnionState(java.lang.String newTypeUri,
java.lang.String newTypeName) |
Modifier and Type | Method and Description |
---|---|
protected State |
createChildState(StartTagInfo tag)
creates appropriate child state object for this element
|
protected XSDatatypeExp |
makeType()
This method is called from endElement method.
|
void |
onEndChild(XSDatatypeExp type) |
protected void |
startSelf()
performs a task that should be done before reading any child elements.
|
_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
private final java.util.ArrayList memberTypes
protected UnionState(java.lang.String newTypeUri, java.lang.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
TypeState