Package com.sun.msv.reader.xmlschema
Class GlobalDeclState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.xmlschema.GlobalDeclState
- All Implemented Interfaces:
XSTypeOwner,ExpressionOwner,ContentHandler
- Direct Known Subclasses:
RedefineState,SchemaIncludedState
State that parses global declarations.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Statecreates appropriate child state object for this elementReturns the target namespace URI of newly created simple types.voidonEndChild(Expression exp) voidonEndChild(XSDatatypeExp type) Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, endSelf, isGrammarElement, startElementMethods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
GlobalDeclState
public GlobalDeclState()
-
-
Method Details
-
createChildState
Description copied from class:SimpleStatecreates appropriate child state object for this element- Specified by:
createChildStatein classSimpleState
-
getTargetNamespaceUri
Description copied from interface:XSTypeOwnerReturns the target namespace URI of newly created simple types. If the context you are using this package doesn't have the notion of the target namespace URI, return the empty string.- Specified by:
getTargetNamespaceUriin interfaceXSTypeOwner
-
onEndChild
- Specified by:
onEndChildin interfaceExpressionOwner
-
onEndChild
- Specified by:
onEndChildin interfaceXSTypeOwner
-