public class XSDVocabulary extends java.lang.Object implements DataTypeVocabulary, java.io.Serializable
DataTypeVocabulary
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XMLSchemaNamespace
namespace URI of XML Schema
|
static java.lang.String |
XMLSchemaNamespace2 |
Constructor and Description |
---|
XSDVocabulary() |
Modifier and Type | Method and Description |
---|---|
State |
createTopLevelReaderState(StartTagInfo tag)
creates a State object that will parse the element specified
by tag parameter.
|
org.relaxng.datatype.Datatype |
getType(java.lang.String localTypeName)
resolves a type name to Datatype object.
|
public static final java.lang.String XMLSchemaNamespace
public static final java.lang.String XMLSchemaNamespace2
public State createTopLevelReaderState(StartTagInfo tag)
DataTypeVocabulary
createTopLevelReaderState
in interface DataTypeVocabulary
public org.relaxng.datatype.Datatype getType(java.lang.String localTypeName) throws org.relaxng.datatype.DatatypeException
DataTypeVocabulary
getType
in interface DataTypeVocabulary
localTypeName
- local part of the qualified name, like "string" or "integer".
prefix part must be removed by the caller.org.relaxng.datatype.DatatypeException
- if the specified type name is a valid type name.