Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.platform.xml
Interface XMLSchemaReference

All Known Implementing Classes:
XMLSchemaReference

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

public static final int COMPLEX_TYPE
See Also:
Constant Field Values

SIMPLE_TYPE

public static final int SIMPLE_TYPE
See Also:
Constant Field Values

ELEMENT

public static final int ELEMENT
See Also:
Constant Field Values

GROUP

public static final int GROUP
See Also:
Constant Field Values

Method Detail

getSchemaContext

public java.lang.String getSchemaContext()
Returns the path to be traversed for validation purposes.
Returns:
a string represented the path to be traversed

getType

public 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

public java.net.URL getURL()
A URL which referenes the Schema.
Returns:
the schema URL

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.