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 XSDatatypeExpperforms final wrap-up and returns a fully created DataType object that represents this element.protected final XSDatatypeExpmakeType()This method is called from endElement method.voidonEndChild(XSDatatypeExp child) receives a Pattern object that is contained in this element.Methods inherited from class TypeState
_makeType, endSelf, getTargetNamespaceUri, startElementMethods inherited from class SimpleState
createChildState, endDocument, endElement, isGrammarElementMethods inherited from class State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelfMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XSTypeOwner
getTargetNamespaceUri
-
Field Details
-
type
-
-
Constructor Details
-
TypeWithOneChildState
TypeWithOneChildState()
-
-
Method Details
-
onEndChild
receives a Pattern object that is contained in this element.- 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. -
annealType
performs final wrap-up and returns a fully created DataType object that represents this element.- Throws:
org.relaxng.datatype.DatatypeException
-