| 
 | Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-02 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
   oracle.toplink.ox.schema.XMLSchemaReference
oracle.toplink.ox.schema.XMLSchemaReference
public abstract class XMLSchemaReference
Provides a way for a descriptor's reference to its schema to be specified. The schema can be reference through a classpath resource, a file or URL.
| Field Summary | 
|---|
| Fields inherited from interface oracle.toplink.platform.xml.XMLSchemaReference | 
|---|
| COMPLEX_TYPE, ELEMENT, GROUP, SIMPLE_TYPE | 
| Method Summary | |
|---|---|
|  java.lang.String | getResource() | 
|  java.lang.String | getSchemaContext()Get the path to the simple/complex type definition, element or group to be referenced in the schema | 
|  javax.xml.namespace.QName | getSchemaContextAsQName(NamespaceResolver nsResolver) | 
|  int | getType()Indicates if the schema reference references a simple type definition, complex type definition, element, or group. | 
| abstract  java.net.URL | getURL()A URL which referenes the Schema. | 
|  boolean | isGlobalDefinition()Indicates a global definition | 
|  boolean | isValid(org.w3c.dom.Document document, org.xml.sax.ErrorHandler errorHandler) | 
|  void | setResource(java.lang.String resource) | 
|  void | setSchemaContext(java.lang.String schemaContext)Set the path to the simple/complex type definition, element, or group to be referenced in the schema | 
|  void | setType(int type)Set to indicate if the schema reference references a simple type definition, complex type definition, element or group. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public java.lang.String getResource()
public void setResource(java.lang.String resource)
public abstract java.net.URL getURL()
getURL in interface XMLSchemaReferencepublic int getType()
getType in interface XMLSchemaReferencepublic void setType(int type)
type - - COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5public java.lang.String getSchemaContext()
getSchemaContext in interface XMLSchemaReferencepublic void setSchemaContext(java.lang.String schemaContext)
schemaContext - - the schema contextpublic javax.xml.namespace.QName getSchemaContextAsQName(NamespaceResolver nsResolver)
public boolean isValid(org.w3c.dom.Document document,
                       org.xml.sax.ErrorHandler errorHandler)
public boolean isGlobalDefinition()
| 
 |  | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||