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
,org.xml.sax.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.
-
-
Field Summary
-
Fields inherited from class com.sun.msv.reader.relax.core.ModuleMergeState
expectedTargetNamespace, targetNamespace
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ModuleState(java.lang.String expectedNamespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
startSelf()
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
-
-
-
-
Method Detail
-
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
-
-