com.sun.msv.reader.relax.core
Class ModuleState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.relax.core.DivInModuleState
com.sun.msv.reader.relax.core.ModuleMergeState
com.sun.msv.reader.relax.core.ModuleState
- All Implemented Interfaces:
- XSTypeOwner, ExpressionOwner, ContentHandler
public class ModuleState
- extends ModuleMergeState
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
Method Summary |
protected void |
startSelf()
performs a task that should be done before reading any child elements. |
Methods inherited from class com.sun.msv.reader.State |
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleState
protected ModuleState(String expectedNamespace)
startSelf
protected void startSelf()
- Description copied from class:
State
- performs a task that should be done before reading any child elements.
derived-class can safely read startTag and/or parentState values.
- Overrides:
startSelf
in class ModuleMergeState
MSV