Skip navigation links
org.eclipse.persistence.platform.xml
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.
Method Summary |
java.lang.String |
getSchemaContext()
Returns the path to be traversed for validation purposes. |
int |
getType()
Indicates if the schema reference references a simple type definition, complex type definition, element or group |
java.net.URL |
getURL()
A URL which referenes the Schema. |
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
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
Skip navigation links