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
public class GlobalDeclState extends SimpleState implements ExpressionOwner, XSTypeOwner
State that parses global declarations.- Author:
- Kohsuke KAWAGUCHI
-
-
Constructor Summary
Constructors Constructor Description GlobalDeclState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected State
createChildState(StartTagInfo tag)
creates appropriate child state object for this elementString
getTargetNamespaceUri()
Returns 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
-
-
-
-
Method Detail
-
createChildState
protected State createChildState(StartTagInfo tag)
Description copied from class:SimpleState
creates appropriate child state object for this element- Specified by:
createChildState
in classSimpleState
-
getTargetNamespaceUri
public String 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
public void onEndChild(Expression exp)
- Specified by:
onEndChild
in interfaceExpressionOwner
-
onEndChild
public void onEndChild(XSDatatypeExp type)
- Specified by:
onEndChild
in interfaceXSTypeOwner
-
-