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,org.xml.sax.ContentHandler
- Direct Known Subclasses:
RedefineState,SchemaIncludedState
public class GlobalDeclState extends SimpleState implements ExpressionOwner, XSTypeOwner
State that parses global declarations.
-
-
Constructor Summary
Constructors Constructor Description GlobalDeclState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StatecreateChildState(StartTagInfo tag)creates appropriate child state object for this elementjava.lang.StringgetTargetNamespaceUri()Returns 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, 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:SimpleStatecreates appropriate child state object for this element- Specified by:
createChildStatein classSimpleState
-
getTargetNamespaceUri
public java.lang.String 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
public void onEndChild(Expression exp)
- Specified by:
onEndChildin interfaceExpressionOwner
-
onEndChild
public void onEndChild(XSDatatypeExp type)
- Specified by:
onEndChildin interfaceXSTypeOwner
-
-