Top Description Constructors Methods
com.sun.msv.reader.xmlschema

public abstract Class AnyState

extends ExpressionWithoutChildState
Class Inheritance
Known Direct Subclasses
com.sun.msv.reader.xmlschema.AnyAttributeState, com.sun.msv.reader.xmlschema.AnyElementState
Imports
java.util.Iterator, .StringTokenizer, com.sun.msv.grammar.ChoiceNameClass, .DifferenceNameClass, .Expression, .NameClass, .NamespaceNameClass, .NotNameClass, .ReferenceExp, .SimpleNameClass, com.sun.msv.grammar.xmlschema.LaxDefaultNameClass, .XMLSchemaSchema, com.sun.msv.reader.ExpressionWithoutChildState

base implementation of AnyAttributeState and AnyElementState.
Author
Kohsuke KAWAGUCHI

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract Expression
createExpression(String namespace, String process)

creates AGM that corresponds to the specified parameters.

protected NameClass
protected NameClass
getNameClass(String namespace, XMLSchemaSchema currentSchema)

processes 'namepsace' attribute and gets corresponding NameClass object.

protected abstract NameClass
protected final Expression
makeExpression()

Implements abstract com.sun.msv.reader.ExpressionState.makeExpression.

This method is called from endElement method.
Inherited from com.sun.msv.reader.ExpressionWithoutChildState:
createChildState

Constructor Detail

AnyStateback to summary
public AnyState()

Method Detail

createExpressionback to summary
protected abstract Expression createExpression(String namespace, String process)

creates AGM that corresponds to the specified parameters.

createLaxNameClassback to summary
protected NameClass createLaxNameClass(NameClass allowedNc, XMLSchemaReader.RefResolver res)
getNameClassback to summary
protected NameClass getNameClass(String namespace, XMLSchemaSchema currentSchema)

processes 'namepsace' attribute and gets corresponding NameClass object.

getNameClassFromback to summary
protected abstract NameClass getNameClassFrom(ReferenceExp exp)
makeExpressionback to summary
protected final Expression makeExpression()

Implements abstract com.sun.msv.reader.ExpressionState.makeExpression.

Doc from com.sun.msv.reader.ExpressionState.makeExpression.

This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.