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.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected State
creates appropriate child state object for this elementReturns the target namespace URI of newly created simple types.void
onEndChild
(Expression exp) void
onEndChild
(XSDatatypeExp type) Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, endSelf, isGrammarElement, startElement
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
-
Constructor Details
-
GlobalDeclState
public GlobalDeclState()
-
-
Method Details
-
createChildState
Description copied from class:SimpleState
creates appropriate child state object for this element- Specified by:
createChildState
in classSimpleState
-
getTargetNamespaceUri
Description copied from interface:XSTypeOwner
Returns 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:
getTargetNamespaceUri
in interfaceXSTypeOwner
-
onEndChild
- Specified by:
onEndChild
in interfaceExpressionOwner
-
onEndChild
- Specified by:
onEndChild
in interfaceXSTypeOwner
-