Top Description Constructors Methods
com.sun.msv.reader.xmlschema

public Class GlobalDeclState

extends SimpleState
implements ExpressionOwner, XSTypeOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.datatype.xsd.XSTypeOwner, com.sun.msv.reader.ExpressionOwner
Known Direct Subclasses
com.sun.msv.reader.xmlschema.RedefineState, com.sun.msv.reader.xmlschema.SchemaIncludedState
Imports
com.sun.msv.grammar.Expression, com.sun.msv.grammar.xmlschema.SimpleTypeExp, com.sun.msv.reader.ExpressionOwner, .SimpleState, .State, com.sun.msv.reader.datatype.xsd.XSDatatypeExp, .XSTypeOwner, com.sun.msv.util.StartTagInfo

State that parses global declarations.
Author
Kohsuke KAWAGUCHI

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected State
createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

creates appropriate child state object for this element
public String
getTargetNamespaceUri()

Implements com.sun.msv.reader.datatype.xsd.XSTypeOwner.getTargetNamespaceUri.

Returns the target namespace URI of newly created simple types.
public void
public void
Inherited from com.sun.msv.reader.SimpleState:
endDocumentendElementendSelfisGrammarElementstartElement

Constructor Detail

GlobalDeclStateback to summary
public GlobalDeclState()

Method Detail

createChildStateback to summary
protected State createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

Doc from com.sun.msv.reader.SimpleState.createChildState.

creates appropriate child state object for this element

getTargetNamespaceUriback to summary
public String getTargetNamespaceUri()

Implements com.sun.msv.reader.datatype.xsd.XSTypeOwner.getTargetNamespaceUri.

Doc from com.sun.msv.reader.datatype.xsd.XSTypeOwner.getTargetNamespaceUri.

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.

onEndChildback to summary
public void onEndChild(Expression exp)

Implements com.sun.msv.reader.ExpressionOwner.onEndChild.

onEndChildback to summary
public void onEndChild(XSDatatypeExp type)

Implements com.sun.msv.reader.datatype.xsd.XSTypeOwner.onEndChild.