Package com.sun.msv.reader.relax.core
Class DivInModuleState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.relax.core.DivInModuleState
-
- All Implemented Interfaces:
XSTypeOwner
,ExpressionOwner
,ContentHandler
- Direct Known Subclasses:
ModuleMergeState
public class DivInModuleState extends SimpleState implements ExpressionOwner, XSTypeOwner
parses <div> element under <module> element.- Author:
- Kohsuke KAWAGUCHI
-
-
Constructor Summary
Constructors Constructor Description DivInModuleState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected State
createChildState(StartTagInfo tag)
creates appropriate child state object for this elementprotected RELAXCoreReader
getReader()
gets reader in type-safe fashionString
getTargetNamespaceUri()
Returns the target namespace URI of newly created simple types.void
onEndChild(Expression exp)
void
onEndChild(XSDatatypeExp type)
-
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, startSelf
-
-
-
-
Method Detail
-
getReader
protected RELAXCoreReader getReader()
gets reader in type-safe fashion
-
createChildState
protected State createChildState(StartTagInfo tag)
Description copied from class:SimpleState
creates appropriate child state object for this element- Specified by:
createChildState
in classSimpleState
-
onEndChild
public void onEndChild(Expression exp)
- Specified by:
onEndChild
in interfaceExpressionOwner
-
getTargetNamespaceUri
public String getTargetNamespaceUri()
Description copied from interface:XSTypeOwner
Returns the target namespace URI of newly created simple types. If the context you are using this package doesn't have the notion of the target namespace URI, return the empty string.- Specified by:
getTargetNamespaceUri
in interfaceXSTypeOwner
-
onEndChild
public void onEndChild(XSDatatypeExp type)
- Specified by:
onEndChild
in interfaceXSTypeOwner
-
-