EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference

org.eclipse.persistence.oxm.schema
Class XMLSchemaClassPathReference

java.lang.Object
  extended by org.eclipse.persistence.oxm.schema.XMLSchemaReference
      extended by org.eclipse.persistence.oxm.schema.XMLSchemaClassPathReference
All Implemented Interfaces:
XMLSchemaReference

public class XMLSchemaClassPathReference
extends XMLSchemaReference

A schema reference for accessing an XML Schema from the class path.


Field Summary
 
Fields inherited from class org.eclipse.persistence.oxm.schema.XMLSchemaReference
resource, schemaContext, schemaContextAsQName, type
 
Fields inherited from interface org.eclipse.persistence.platform.xml.XMLSchemaReference
COMPLEX_TYPE, ELEMENT, GROUP, SIMPLE_TYPE
 
Constructor Summary
XMLSchemaClassPathReference()
           
XMLSchemaClassPathReference(java.lang.String resource)
           
 
Method Summary
 java.net.URL getURL()
          A URL which referenes the Schema.
 void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
          Allow subclasses to perform initialization if required.
 
Methods inherited from class org.eclipse.persistence.oxm.schema.XMLSchemaReference
getResource, getSchemaContext, getSchemaContextAsQName, getSchemaContextAsQName, getType, isGlobalDefinition, isValid, setResource, setSchemaContext, setSchemaContextAsQName, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSchemaClassPathReference

public XMLSchemaClassPathReference()

XMLSchemaClassPathReference

public XMLSchemaClassPathReference(java.lang.String resource)
Method Detail

initialize

public void initialize(org.eclipse.persistence.internal.sessions.AbstractSession session)
Description copied from class: XMLSchemaReference
Allow subclasses to perform initialization if required. This method will typically be called during the owning descriptor's initialization phase.

Overrides:
initialize in class XMLSchemaReference

getURL

public java.net.URL getURL()
Description copied from interface: XMLSchemaReference
A URL which referenes the Schema.

Specified by:
getURL in interface XMLSchemaReference
Specified by:
getURL in class XMLSchemaReference
Returns:
the schema URL

EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference