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, startElementendDocument, 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 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)
SimpleStatecreateChildState in class SimpleStateprotected void startSelf()
Statepublic void onEndChild(XSDatatypeExp type)
onEndChild in interface XSTypeOwnerprotected final XSDatatypeExp makeType() throws org.relaxng.datatype.DatatypeException
TypeState