Package com.sun.msv.reader.xmlschema
Class AnyState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.ExpressionState
com.sun.msv.reader.ExpressionWithoutChildState
com.sun.msv.reader.xmlschema.AnyState
- All Implemented Interfaces:
ContentHandler
- Direct Known Subclasses:
AnyAttributeState
,AnyElementState
base implementation of AnyAttributeState and AnyElementState.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Expression
createExpression
(String namespace, String process) creates AGM that corresponds to the specified parameters.protected NameClass
createLaxNameClass
(NameClass allowedNc, XMLSchemaReader.RefResolver res) protected NameClass
getNameClass
(String namespace, XMLSchemaSchema currentSchema) processes 'namepsace' attribute and gets corresponding NameClass object.protected abstract NameClass
protected final Expression
This method is called from endElement method.Methods inherited from class com.sun.msv.reader.ExpressionWithoutChildState
createChildState
Methods inherited from class com.sun.msv.reader.ExpressionState
endSelf
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
AnyState
public AnyState()
-
-
Method Details
-
makeExpression
Description copied from class:ExpressionState
This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.- Specified by:
makeExpression
in classExpressionState
-
createExpression
creates AGM that corresponds to the specified parameters. -
getNameClass
processes 'namepsace' attribute and gets corresponding NameClass object. -
getNameClassFrom
-
createLaxNameClass
-