Top Description Fields Constructors Methods
com.sun.msv.reader.relax.core

public Class ModuleState

extends ModuleMergeState
Class Inheritance
Imports
com.sun.msv.grammar.relax.RELAXModule

parses <module> element. this state is used to parse "head module", which is not included by any other modules. modules merged by include element are handled by MergeModuleState.

this class switchs RELAXReader.currentModule so that successive declarations are placed in the proper module.

Author
Kohsuke KAWAGUCHI

Field Summary

Inherited from com.sun.msv.reader.relax.core.ModuleMergeState:
expectedTargetNamespacetargetNamespace

Constructor Summary

AccessConstructor and Description
protected
ModuleState(String expectedNamespace)

Method Summary

Modifier and TypeMethod and Description
protected void
startSelf()

Overrides com.sun.msv.reader.relax.core.ModuleMergeState.startSelf.

performs a task that should be done before reading any child elements.

Constructor Detail

ModuleStateback to summary
protected ModuleState(String expectedNamespace)

Method Detail

startSelfback to summary
protected void startSelf()

Overrides com.sun.msv.reader.relax.core.ModuleMergeState.startSelf.

Doc from com.sun.msv.reader.State.startSelf.

performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.