FileDocCategorySizeDatePackage
XMLSchemaReference.javaAPI DocGlassfish v2 API2879Tue May 22 16:54:48 BST 2007oracle.toplink.essentials.platform.xml

XMLSchemaReference

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

Fields Summary
public static final int
COMPLEX_TYPE
public static final int
SIMPLE_TYPE
public static final int
ELEMENT
public static final int
GROUP
Constructors Summary
Methods Summary
public java.lang.StringgetSchemaContext()
Returns the path to be traversed for validation purposes.

return
a string represented the path to be traversed

public intgetType()
Indicates if the schema reference references a simple type definition, complex type definition, element or group

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

public java.net.URLgetURL()
A URL which referenes the Schema.

return
the schema URL