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 ExpressioncreateExpression(String namespace, String process) creates AGM that corresponds to the specified parameters.protected NameClasscreateLaxNameClass(NameClass allowedNc, XMLSchemaReader.RefResolver res) protected NameClassgetNameClass(String namespace, XMLSchemaSchema currentSchema) processes 'namepsace' attribute and gets corresponding NameClass object.protected abstract NameClassprotected final ExpressionThis method is called from endElement method.Methods inherited from class com.sun.msv.reader.ExpressionWithoutChildState
createChildStateMethods inherited from class com.sun.msv.reader.ExpressionState
endSelfMethods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, startElementMethods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
AnyState
public AnyState()
-
-
Method Details
-
makeExpression
Description copied from class:ExpressionStateThis method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.- Specified by:
makeExpressionin classExpressionState
-
createExpression
creates AGM that corresponds to the specified parameters. -
getNameClass
processes 'namepsace' attribute and gets corresponding NameClass object. -
getNameClassFrom
-
createLaxNameClass
-