Interface XMLSchemaReference
-
- All Known Implementing Classes:
XMLSchemaClassPathReference,XMLSchemaFileReference,XMLSchemaReference,XMLSchemaURLReference
public interface XMLSchemaReferenceA schema reference is used to access a schema in order to validate a document.
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMPLEX_TYPEstatic intELEMENTstatic intGROUPstatic intSIMPLE_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetSchemaContext()Returns the path to be traversed for validation purposes.intgetType()Indicates if the schema reference references a simple type definition, complex type definition, element or groupjava.net.URLgetURL()A URL which referenes the Schema.
-
-
-
Field Detail
-
COMPLEX_TYPE
static final int COMPLEX_TYPE
- See Also:
- Constant Field Values
-
SIMPLE_TYPE
static final int SIMPLE_TYPE
- See Also:
- Constant Field Values
-
ELEMENT
static final int ELEMENT
- See Also:
- Constant Field Values
-
GROUP
static final int GROUP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSchemaContext
java.lang.String getSchemaContext()
Returns the path to be traversed for validation purposes.- Returns:
- a string represented the path to be traversed
-
getType
int getType()
Indicates if the schema reference references a simple type definition, complex type definition, element or group- Returns:
- COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5
-
getURL
java.net.URL getURL()
A URL which referenes the Schema.- Returns:
- the schema URL
-
-