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 ModuleMergeState
expectedTargetNamespace, targetNamespace -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidperforms a task that should be done before reading any child elements.Methods inherited from class DivInModuleState
createChildState, getReader, getTargetNamespaceUri, onEndChild, onEndChildMethods inherited from class SimpleState
endDocument, endElement, endSelf, isGrammarElement, startElementMethods inherited from class 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:Stateperforms a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.- Overrides:
startSelfin classModuleMergeState
-