EclipseLink 2.1.2, build 'v20101206-r8635' API Reference

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.


Field Summary
static int COMPLEX_TYPE
           
static int ELEMENT
           
static int GROUP
           
static int SIMPLE_TYPE
           
 
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.
 

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

EclipseLink 2.1.2, build 'v20101206-r8635' API Reference