com.sun.msv.reader.datatype.xsd
Class XSDVocabulary
- DataTypeVocabulary, Serializable
public class XSDVocabulary
XMLSchemaNamespace
public static final String XMLSchemaNamespace
namespace URI of XML Schema
XMLSchemaNamespace2
public static final String XMLSchemaNamespace2
createTopLevelReaderState
public State createTopLevelReaderState(StartTagInfo tag)
creates a State object that will parse the element specified
by tag parameter.
- createTopLevelReaderState in interface DataTypeVocabulary
- null
if given start tag is not recognized by this object.
This method is called when an "island" of this vocabulary was found.
The state returned from this method will be used to parse the root
element of this island.
The parent state of this state must implement TypeOwner or ExpressionOwner.
In either case, the implementation must report its parsing result
by calling either interface. If both interface is implemented,
the implementation must notify via TypeOwner interface only and may not
call methods of ExpressionOwner.
If the parsed island is not a type definition (for example, comments or
inclusion), the implementation may not call TypeOwner nor ExpressionOwner.
getType
public Datatype getType(String localTypeName)
throws DatatypeException
resolves a type name to Datatype object.
- getType in interface DataTypeVocabulary
localTypeName
- local part of the qualified name, like "string" or "integer".
prefix part must be removed by the caller.
- a non-null valid datatype object.