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

public Class SchemaState

extends SchemaIncludedState
Class Inheritance
Imports
com.sun.msv.grammar.xmlschema.XMLSchemaSchema

used to parse <schema> element.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private XMLSchemaSchema
Inherited from com.sun.msv.reader.xmlschema.SchemaIncludedState:
expectedTargetNamespace

Constructor Summary

AccessConstructor and Description
protected
SchemaState(String expectedTargetNamespace)

Method Summary

Modifier and TypeMethod and Description
protected void
endSelf()

Overrides com.sun.msv.reader.xmlschema.SchemaIncludedState.endSelf.

this method is called in endElement method when the state is about to be removed.
protected void
onTargetNamespaceResolved(String
namespace of the schema
targetNs
,
boolean
TODO
ignoreContents
)

Overrides com.sun.msv.reader.xmlschema.SchemaIncludedState.onTargetNamespaceResolved.

This is called when the target namespace is determined for a new schema.
Inherited from com.sun.msv.reader.xmlschema.SchemaIncludedState:
createChildStatestartSelf

Field Detail

oldback to summary
private XMLSchemaSchema old

Constructor Detail

SchemaStateback to summary
protected SchemaState(String expectedTargetNamespace)

Method Detail

endSelfback to summary
protected void endSelf()

Overrides com.sun.msv.reader.xmlschema.SchemaIncludedState.endSelf.

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

this method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job

onTargetNamespaceResolvedback to summary
protected void onTargetNamespaceResolved(String targetNs, boolean ignoreContents)

Overrides com.sun.msv.reader.xmlschema.SchemaIncludedState.onTargetNamespaceResolved.

Doc from com.sun.msv.reader.xmlschema.SchemaIncludedState.onTargetNamespaceResolved.

This is called when the target namespace is determined for a new schema.

Parameters
targetNs:String

namespace of the schema

ignoreContents:boolean

TODO