Top Description Fields Methods
org.eclipse.persistence.platform.xml

public Interface XMLSchemaReference

Known Direct Implementers
org.eclipse.persistence.oxm.schema.XMLSchemaReference
Imports
java.net.URL

A schema reference is used to access a schema in order to validate a document.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a string represented the path to be traversed
getSchemaContext
()

Returns the path to be traversed for validation purposes.

public int

Returns:

COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5
getType
()

Indicates if the schema reference references a simple type definition, complex type definition, element or group

public URL

Returns:

the schema URL
getURL
()

A URL which referenes the Schema.

Field Detail

COMPLEX_TYPEback to summary
public static final int COMPLEX_TYPE
ELEMENTback to summary
public static final int ELEMENT
GROUPback to summary
public static final int GROUP
SIMPLE_TYPEback to summary
public static final int SIMPLE_TYPE

Method Detail

getSchemaContextback to summary
public String getSchemaContext()

Returns the path to be traversed for validation purposes.

Returns:String

a string represented the path to be traversed

getTypeback to summary
public int getType()

Indicates if the schema reference references a simple type definition, complex type definition, element or group

Returns:int

COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5

getURLback to summary
public URL getURL()

A URL which referenes the Schema.

Returns:URL

the schema URL