org.jscience.ml.gml.xml.schema
Class XMLSchema

java.lang.Object
  extended by org.jscience.ml.gml.xml.schema.XMLSchema
All Implemented Interfaces:
SchemaLocator
Direct Known Subclasses:
GMLSchema

public class XMLSchema
extends java.lang.Object
implements SchemaLocator

Encapsulates the XML schema but this version does not do much on its own. The schema parsing job is done by SchemaParser. Every XML schema has therefore a schema parser, which is also available to all subclasses via the getParser() method.

See Also:
SchemaParser

Field Summary
static java.lang.String ABSTRACT_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String ALL_ELEMENT
          DOCUMENT ME!
static java.lang.String ANNOTATION_ELEMENT
          DOCUMENT ME!
static java.lang.String ANY_ATTRIBUTE_ELEMENT
          DOCUMENT ME!
static java.lang.String ANY_ELEMENT
          DOCUMENT ME!
static java.lang.String ANY_TYPE_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String ANY_URI_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String APP_INFO_ELEMENT
          DOCUMENT ME!
static java.lang.String ATTRIBUTE_ELEMENT
          DOCUMENT ME!
static java.lang.String ATTRIBUTE_GROUP_ELEMENT
          DOCUMENT ME!
static java.lang.String BASE_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String BASE64_BINARY_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String BOOLEAN_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String BYTE_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String CHOICE_ELEMENT
          DOCUMENT ME!
static java.lang.String COMPLEX_CONTENT_ELEMENT
          DOCUMENT ME!
static java.lang.String COMPLEX_TYPE_ELEMENT
          DOCUMENT ME!
static java.lang.String DATE_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String DATE_TIME_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String DECIMAL_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String DEFAULT_NAMESPACE_PREFIX
          DOCUMENT ME!
static java.lang.String DOCUMENTATION_ELEMENT
          DOCUMENT ME!
static java.lang.String DOUBLE_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String DURATION_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String ELEMENT_ELEMENT
          DOCUMENT ME!
static java.lang.String ENTITIES_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String ENTITY_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String ENUMERATION_ELEMENT
          DOCUMENT ME!
static java.lang.String EXTENSION_ELEMENT
          DOCUMENT ME!
static java.lang.String FIELD_ELEMENT
          DOCUMENT ME!
static java.lang.String FLOAT_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String G_DAY_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String G_MONTH_DAY_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String G_MONTH_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String G_YEAR_MONTH_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String G_YEAR_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String GROUP_ELEMENT
          DOCUMENT ME!
static java.lang.String HEX_BINARY_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String ID_REF_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String ID_REFS_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String ID_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String IMPORT_ELEMENT
          DOCUMENT ME!
static java.lang.String INCLUDE_ELEMENT
          DOCUMENT ME!
static java.lang.String INT_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String INTEGER_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String KEY_ELEMENT
          DOCUMENT ME!
static java.lang.String KEY_REF_ELEMENT
          DOCUMENT ME!
static java.lang.String LANGUAGE_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String LENGTH_ELEMENT
          DOCUMENT ME!
static java.lang.String LIST_ELEMENT
          DOCUMENT ME!
static java.lang.String LONG_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String MAX_INCLUSIVE_ELEMENT
          DOCUMENT ME!
static java.lang.String MAX_LENGTH_ELEMENT
          DOCUMENT ME!
static java.lang.String MIN_INCLUSIVE_ELEMENT
          DOCUMENT ME!
static java.lang.String MIN_LENGTH_ELEMENT
          DOCUMENT ME!
static java.lang.String NAME_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String NAME_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NAMESPACE_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String NC_NAME_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NEGATIVE_INTEGER_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NM_TOKEN_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NM_TOKENS_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NON_NEGATIVE_INTEGER_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NON_POSITIVE_INTEGER_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NORMALIZED_STRING_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String NOTATION_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String PATTERN_ELEMENT
          DOCUMENT ME!
static java.lang.String POSITIVE_INTEGER_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String QNAME_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String RECURSIVE_ELEMENT
          DOCUMENT ME!
static java.lang.String REDEFINE_ELEMENT
          DOCUMENT ME!
static java.lang.String REF_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String REFERENCE_XML_TYPE
          DOCUMENT ME!
static java.lang.String RESTRICTION_ELEMENT
          DOCUMENT ME!
static java.lang.String SCHEMA_ELEMENT
          DOCUMENT ME!
static java.lang.String SCHEMA_LOCATION_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String SELECTOR_ELEMENT
          DOCUMENT ME!
static java.lang.String SEQUENCE_ELEMENT
          DOCUMENT ME!
static java.lang.String SHORT_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String SIMPLE_CONTENT_ELEMENT
          DOCUMENT ME!
static java.lang.String SIMPLE_TYPE_ELEMENT
          DOCUMENT ME!
static java.lang.String STRING_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String SUBSTITUTIONGROUP_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String TARGET_NAMESPACE_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String TIME_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String TOKEN_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String TYPE_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String UNION_ELEMENT
          DOCUMENT ME!
static java.lang.String UNIQUE_ELEMENT
          DOCUMENT ME!
static java.lang.String UNSIGNED_BYTE_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String UNSIGNED_INT_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String UNSIGNED_LONG_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String UNSIGNED_SHORT_SIMPLE_TYPE
          DOCUMENT ME!
static java.lang.String VALUE_ATTRIBUTE
          DOCUMENT ME!
static java.lang.String XML_NAMESPACE
          DOCUMENT ME!
static java.lang.String XML_PREFIX
          DOCUMENT ME!
static java.lang.String XML_SCHEMA_ELEMENT_TYPE
          DOCUMENT ME!
static java.lang.String XML_SCHEMA_INSTANCE_NAMESPACE
          DOCUMENT ME!
static java.lang.String XML_SCHEMA_NAMESPACE
          DOCUMENT ME!
static java.lang.String XMLNS_ATTR
          DOCUMENT ME!
 
Constructor Summary
XMLSchema(java.lang.String location)
          Passes the location to the schema parser object.
 
Method Summary
protected  SchemaParser getParser()
          Returns the schema parser (to subclasses).
static boolean isBuiltInType(QName type)
          DOCUMENT ME!
 XMLSchema retrieveSchemaFromFile(java.lang.String fileName)
          DOCUMENT ME!
 XMLSchema retrieveSchemaFromStream(java.io.InputStream schemaStream)
          DOCUMENT ME!
 XMLSchema retrieveSchemaFromURL(java.lang.String url)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAMESPACE_PREFIX

public static final java.lang.String DEFAULT_NAMESPACE_PREFIX
DOCUMENT ME!

See Also:
Constant Field Values

TARGET_NAMESPACE_ATTRIBUTE

public static final java.lang.String TARGET_NAMESPACE_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

NAME_ATTRIBUTE

public static final java.lang.String NAME_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

REF_ATTRIBUTE

public static final java.lang.String REF_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

TYPE_ATTRIBUTE

public static final java.lang.String TYPE_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

ABSTRACT_ATTRIBUTE

public static final java.lang.String ABSTRACT_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

VALUE_ATTRIBUTE

public static final java.lang.String VALUE_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

BASE_ATTRIBUTE

public static final java.lang.String BASE_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

SUBSTITUTIONGROUP_ATTRIBUTE

public static final java.lang.String SUBSTITUTIONGROUP_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

SCHEMA_LOCATION_ATTRIBUTE

public static final java.lang.String SCHEMA_LOCATION_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

NAMESPACE_ATTRIBUTE

public static final java.lang.String NAMESPACE_ATTRIBUTE
DOCUMENT ME!

See Also:
Constant Field Values

XML_SCHEMA_NAMESPACE

public static final java.lang.String XML_SCHEMA_NAMESPACE
DOCUMENT ME!

See Also:
Constant Field Values

XML_SCHEMA_INSTANCE_NAMESPACE

public static final java.lang.String XML_SCHEMA_INSTANCE_NAMESPACE
DOCUMENT ME!

See Also:
Constant Field Values

XML_PREFIX

public static final java.lang.String XML_PREFIX
DOCUMENT ME!

See Also:
Constant Field Values

XML_NAMESPACE

public static final java.lang.String XML_NAMESPACE
DOCUMENT ME!

See Also:
Constant Field Values

XMLNS_ATTR

public static final java.lang.String XMLNS_ATTR
DOCUMENT ME!

See Also:
Constant Field Values

ALL_ELEMENT

public static final java.lang.String ALL_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

ANNOTATION_ELEMENT

public static final java.lang.String ANNOTATION_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

ANY_ELEMENT

public static final java.lang.String ANY_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

ANY_ATTRIBUTE_ELEMENT

public static final java.lang.String ANY_ATTRIBUTE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

APP_INFO_ELEMENT

public static final java.lang.String APP_INFO_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

ATTRIBUTE_ELEMENT

public static final java.lang.String ATTRIBUTE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

ATTRIBUTE_GROUP_ELEMENT

public static final java.lang.String ATTRIBUTE_GROUP_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

CHOICE_ELEMENT

public static final java.lang.String CHOICE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

COMPLEX_CONTENT_ELEMENT

public static final java.lang.String COMPLEX_CONTENT_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

COMPLEX_TYPE_ELEMENT

public static final java.lang.String COMPLEX_TYPE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

DOCUMENTATION_ELEMENT

public static final java.lang.String DOCUMENTATION_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

ELEMENT_ELEMENT

public static final java.lang.String ELEMENT_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

ENUMERATION_ELEMENT

public static final java.lang.String ENUMERATION_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

EXTENSION_ELEMENT

public static final java.lang.String EXTENSION_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

FIELD_ELEMENT

public static final java.lang.String FIELD_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

GROUP_ELEMENT

public static final java.lang.String GROUP_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

IMPORT_ELEMENT

public static final java.lang.String IMPORT_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

INCLUDE_ELEMENT

public static final java.lang.String INCLUDE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

KEY_ELEMENT

public static final java.lang.String KEY_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

KEY_REF_ELEMENT

public static final java.lang.String KEY_REF_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

LENGTH_ELEMENT

public static final java.lang.String LENGTH_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

LIST_ELEMENT

public static final java.lang.String LIST_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

MAX_INCLUSIVE_ELEMENT

public static final java.lang.String MAX_INCLUSIVE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

MAX_LENGTH_ELEMENT

public static final java.lang.String MAX_LENGTH_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

MIN_INCLUSIVE_ELEMENT

public static final java.lang.String MIN_INCLUSIVE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

MIN_LENGTH_ELEMENT

public static final java.lang.String MIN_LENGTH_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

PATTERN_ELEMENT

public static final java.lang.String PATTERN_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

REDEFINE_ELEMENT

public static final java.lang.String REDEFINE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

RESTRICTION_ELEMENT

public static final java.lang.String RESTRICTION_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

SCHEMA_ELEMENT

public static final java.lang.String SCHEMA_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

SELECTOR_ELEMENT

public static final java.lang.String SELECTOR_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

SEQUENCE_ELEMENT

public static final java.lang.String SEQUENCE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

SIMPLE_CONTENT_ELEMENT

public static final java.lang.String SIMPLE_CONTENT_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

SIMPLE_TYPE_ELEMENT

public static final java.lang.String SIMPLE_TYPE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

UNION_ELEMENT

public static final java.lang.String UNION_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

UNIQUE_ELEMENT

public static final java.lang.String UNIQUE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

REFERENCE_XML_TYPE

public static final java.lang.String REFERENCE_XML_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

XML_SCHEMA_ELEMENT_TYPE

public static final java.lang.String XML_SCHEMA_ELEMENT_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

RECURSIVE_ELEMENT

public static final java.lang.String RECURSIVE_ELEMENT
DOCUMENT ME!

See Also:
Constant Field Values

STRING_SIMPLE_TYPE

public static final java.lang.String STRING_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NORMALIZED_STRING_SIMPLE_TYPE

public static final java.lang.String NORMALIZED_STRING_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

TOKEN_SIMPLE_TYPE

public static final java.lang.String TOKEN_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

BYTE_SIMPLE_TYPE

public static final java.lang.String BYTE_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

UNSIGNED_BYTE_SIMPLE_TYPE

public static final java.lang.String UNSIGNED_BYTE_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

BASE64_BINARY_SIMPLE_TYPE

public static final java.lang.String BASE64_BINARY_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

HEX_BINARY_SIMPLE_TYPE

public static final java.lang.String HEX_BINARY_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

INTEGER_SIMPLE_TYPE

public static final java.lang.String INTEGER_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

POSITIVE_INTEGER_SIMPLE_TYPE

public static final java.lang.String POSITIVE_INTEGER_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NEGATIVE_INTEGER_SIMPLE_TYPE

public static final java.lang.String NEGATIVE_INTEGER_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NON_NEGATIVE_INTEGER_SIMPLE_TYPE

public static final java.lang.String NON_NEGATIVE_INTEGER_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NON_POSITIVE_INTEGER_SIMPLE_TYPE

public static final java.lang.String NON_POSITIVE_INTEGER_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

INT_SIMPLE_TYPE

public static final java.lang.String INT_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

UNSIGNED_INT_SIMPLE_TYPE

public static final java.lang.String UNSIGNED_INT_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

LONG_SIMPLE_TYPE

public static final java.lang.String LONG_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

UNSIGNED_LONG_SIMPLE_TYPE

public static final java.lang.String UNSIGNED_LONG_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

SHORT_SIMPLE_TYPE

public static final java.lang.String SHORT_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

UNSIGNED_SHORT_SIMPLE_TYPE

public static final java.lang.String UNSIGNED_SHORT_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

DECIMAL_SIMPLE_TYPE

public static final java.lang.String DECIMAL_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

FLOAT_SIMPLE_TYPE

public static final java.lang.String FLOAT_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

DOUBLE_SIMPLE_TYPE

public static final java.lang.String DOUBLE_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

BOOLEAN_SIMPLE_TYPE

public static final java.lang.String BOOLEAN_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

TIME_SIMPLE_TYPE

public static final java.lang.String TIME_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

DATE_TIME_SIMPLE_TYPE

public static final java.lang.String DATE_TIME_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

DURATION_SIMPLE_TYPE

public static final java.lang.String DURATION_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

DATE_SIMPLE_TYPE

public static final java.lang.String DATE_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

G_MONTH_SIMPLE_TYPE

public static final java.lang.String G_MONTH_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

G_YEAR_SIMPLE_TYPE

public static final java.lang.String G_YEAR_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

G_YEAR_MONTH_SIMPLE_TYPE

public static final java.lang.String G_YEAR_MONTH_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

G_DAY_SIMPLE_TYPE

public static final java.lang.String G_DAY_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

G_MONTH_DAY_SIMPLE_TYPE

public static final java.lang.String G_MONTH_DAY_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NAME_SIMPLE_TYPE

public static final java.lang.String NAME_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

QNAME_SIMPLE_TYPE

public static final java.lang.String QNAME_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NC_NAME_SIMPLE_TYPE

public static final java.lang.String NC_NAME_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

ANY_URI_SIMPLE_TYPE

public static final java.lang.String ANY_URI_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

LANGUAGE_SIMPLE_TYPE

public static final java.lang.String LANGUAGE_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

ID_SIMPLE_TYPE

public static final java.lang.String ID_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

ID_REF_SIMPLE_TYPE

public static final java.lang.String ID_REF_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

ID_REFS_SIMPLE_TYPE

public static final java.lang.String ID_REFS_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

ENTITY_SIMPLE_TYPE

public static final java.lang.String ENTITY_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

ENTITIES_SIMPLE_TYPE

public static final java.lang.String ENTITIES_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NOTATION_SIMPLE_TYPE

public static final java.lang.String NOTATION_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NM_TOKEN_SIMPLE_TYPE

public static final java.lang.String NM_TOKEN_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

NM_TOKENS_SIMPLE_TYPE

public static final java.lang.String NM_TOKENS_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values

ANY_TYPE_SIMPLE_TYPE

public static final java.lang.String ANY_TYPE_SIMPLE_TYPE
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

XMLSchema

public XMLSchema(java.lang.String location)
          throws XMLException
Passes the location to the schema parser object.

Parameters:
location - DOCUMENT ME!
Throws:
XMLException - Thrown when the schema could not be parsed.
Method Detail

retrieveSchemaFromURL

public XMLSchema retrieveSchemaFromURL(java.lang.String url)
Description copied from interface: SchemaLocator
DOCUMENT ME!

Specified by:
retrieveSchemaFromURL in interface SchemaLocator
Parameters:
url - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
. - DOCUMENT ME!

retrieveSchemaFromFile

public XMLSchema retrieveSchemaFromFile(java.lang.String fileName)
Description copied from interface: SchemaLocator
DOCUMENT ME!

Specified by:
retrieveSchemaFromFile in interface SchemaLocator
Parameters:
fileName - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
. - DOCUMENT ME!

retrieveSchemaFromStream

public XMLSchema retrieveSchemaFromStream(java.io.InputStream schemaStream)
Description copied from interface: SchemaLocator
DOCUMENT ME!

Specified by:
retrieveSchemaFromStream in interface SchemaLocator
Parameters:
schemaStream - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
. - DOCUMENT ME!

getParser

protected SchemaParser getParser()
Returns the schema parser (to subclasses).

Returns:
DOCUMENT ME!

isBuiltInType

public static boolean isBuiltInType(QName type)
DOCUMENT ME!

Parameters:
type - DOCUMENT ME!
Returns:
DOCUMENT ME!