Package 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
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.
-
Field Summary
Fields inherited from class com.sun.msv.reader.relax.core.ModuleMergeState
expectedTargetNamespace, targetNamespace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
performs a task that should be done before reading any child elements.Methods inherited from class com.sun.msv.reader.relax.core.DivInModuleState
createChildState, getReader, getTargetNamespaceUri, onEndChild, onEndChild
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
-
Constructor Details
-
ModuleState
-
-
Method Details
-
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 classModuleMergeState
-