Class UnionState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.datatype.xsd.TypeState
com.sun.msv.reader.datatype.xsd.UnionState
- All Implemented Interfaces:
XSTypeOwner, ContentHandler
State that parses <union> element and its children.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Statecreates appropriate child state object for this elementprotected final XSDatatypeExpmakeType()This method is called from endElement method.voidonEndChild(XSDatatypeExp type) protected voidperforms a task that should be done before reading any child elements.Methods inherited from class TypeState
_makeType, endSelf, getTargetNamespaceUri, startElementMethods inherited from class SimpleState
endDocument, endElement, isGrammarElementMethods inherited from class State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XSTypeOwner
getTargetNamespaceUri
-
Field Details
-
newTypeUri
-
newTypeName
-
memberTypes
-
-
Constructor Details
-
UnionState
-
-
Method Details
-
createChildState
Description copied from class:SimpleStatecreates appropriate child state object for this element- Specified by:
createChildStatein classSimpleState
-
startSelf
-
onEndChild
- Specified by:
onEndChildin interfaceXSTypeOwner
-
makeType
Description copied from class:TypeStateThis method is called from endElement method. Implementation has to provide DataType object that represents the content of this element.
-