Interface XMLSchemaReference
- All Known Implementing Classes:
XMLSchemaClassPathReference
,XMLSchemaFileReference
,XMLSchemaReference
,XMLSchemaURLReference
public interface XMLSchemaReference
A schema reference is used to access a schema in order to validate a
document.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
COMPLEX_TYPE
static final int COMPLEX_TYPE- See Also:
-
SIMPLE_TYPE
static final int SIMPLE_TYPE- See Also:
-
ELEMENT
static final int ELEMENT- See Also:
-
GROUP
static final int GROUP- See Also:
-
-
Method Details
-
getSchemaContext
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
URL getURL()A URL which referenes the Schema.- Returns:
- the schema URL
-