Package com.sun.msv.reader.datatype.xsd
Class TypeWithOneChildState
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.TypeWithOneChildState
- All Implemented Interfaces:
XSTypeOwner
,ContentHandler
- Direct Known Subclasses:
ListState
,RestrictionState
,SimpleTypeState
State which has at most one TypeState as its child.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected XSDatatypeExp
performs final wrap-up and returns a fully created DataType object that represents this element.protected final XSDatatypeExp
makeType()
This method is called from endElement method.void
onEndChild
(XSDatatypeExp child) receives a Pattern object that is contained in this element.Methods inherited from class com.sun.msv.reader.datatype.xsd.TypeState
_makeType, endSelf, getTargetNamespaceUri, startElement
Methods inherited from class com.sun.msv.reader.SimpleState
createChildState, endDocument, endElement, isGrammarElement
Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.msv.reader.datatype.xsd.XSTypeOwner
getTargetNamespaceUri
-
Field Details
-
type
-
-
Constructor Details
-
TypeWithOneChildState
TypeWithOneChildState()
-
-
Method Details
-
onEndChild
receives a Pattern object that is contained in this element.- Specified by:
onEndChild
in interfaceXSTypeOwner
-
makeType
Description copied from class:TypeState
This method is called from endElement method. Implementation has to provide DataType object that represents the content of this element. -
annealType
performs final wrap-up and returns a fully created DataType object that represents this element.- Throws:
org.relaxng.datatype.DatatypeException
-