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
public abstract class AnyState
- extends ExpressionWithoutChildState
base implementation of AnyAttributeState and AnyElementState.
- Author:
- Kohsuke KAWAGUCHI
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 |
AnyState
public AnyState()
makeExpression
protected final Expression 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 class ExpressionState
createExpression
protected abstract Expression createExpression(String namespace,
String process)
- creates AGM that corresponds to the specified parameters.
getNameClass
protected NameClass getNameClass(String namespace,
XMLSchemaSchema currentSchema)
- processes 'namepsace' attribute and gets corresponding NameClass object.
getNameClassFrom
protected abstract NameClass getNameClassFrom(ReferenceExp exp)
createLaxNameClass
protected NameClass createLaxNameClass(NameClass allowedNc,
XMLSchemaReader.RefResolver res)
MSV