|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.ox.schema.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 |
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 |
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()
XMLSchemaReference
getURL
in interface XMLSchemaReference
public int getType()
getType
in interface XMLSchemaReference
public void setType(int type)
type
- - COMPLEX_TYPE=1, SIMPLE_TYPE=2, ELEMENT=3, GROUP=5public java.lang.String getSchemaContext()
getSchemaContext
in interface XMLSchemaReference
public void setSchemaContext(java.lang.String schemaContext)
schemaContext
- - the schema contextpublic boolean isValid(org.w3c.dom.Document document, org.xml.sax.ErrorHandler errorHandler)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |