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:
org.xml.sax.ContentHandler
- Direct Known Subclasses:
AnyAttributeState,AnyElementState
public abstract class AnyState extends ExpressionWithoutChildState
base implementation of AnyAttributeState and AnyElementState.
-
-
Constructor Summary
Constructors Constructor Description AnyState()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ExpressioncreateExpression(java.lang.String namespace, java.lang.String process)creates AGM that corresponds to the specified parameters.protected NameClasscreateLaxNameClass(NameClass allowedNc, XMLSchemaReader.RefResolver res)protected NameClassgetNameClass(java.lang.String namespace, XMLSchemaSchema currentSchema)processes 'namepsace' attribute and gets corresponding NameClass object.protected abstract NameClassgetNameClassFrom(ReferenceExp exp)protected ExpressionmakeExpression()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
-
-
-
-
Method Detail
-
makeExpression
protected final Expression 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
protected abstract Expression createExpression(java.lang.String namespace, java.lang.String process)
creates AGM that corresponds to the specified parameters.
-
getNameClass
protected NameClass getNameClass(java.lang.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)
-
-