Top Description Fields Constructors Methods
org.eclipse.persistence.oxm.schema

public Class XMLSchemaClassPathReference

extends XMLSchemaReference
Class Inheritance
Imports
java.net.URL, org.eclipse.persistence.exceptions.XMLMarshalException, org.eclipse.persistence.internal.core.sessions.CoreAbstractSession

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

Field Summary

Modifier and TypeField and Description
pack-priv ClassLoader
Inherited from org.eclipse.persistence.oxm.schema.XMLSchemaReference:
resourceschemaContextschemaContextAsQNametype

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public URL
public void
initialize(CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>> session)

Overrides org.eclipse.persistence.oxm.schema.XMLSchemaReference.initialize.

Allow subclasses to perform initialization if required.
Inherited from org.eclipse.persistence.oxm.schema.XMLSchemaReference:
getResourcegetSchemaContextgetSchemaContextAsQNamegetSchemaContextAsQNamegetTypeisGlobalDefinitionisValidsetResourcesetSchemaContextsetSchemaContextAsQNamesetType

Field Detail

loaderback to summary
pack-priv ClassLoader loader

Constructor Detail

XMLSchemaClassPathReferenceback to summary
public XMLSchemaClassPathReference()
XMLSchemaClassPathReferenceback to summary
public XMLSchemaClassPathReference(String resource)

Method Detail

getURLback to summary
public URL getURL()

Implements abstract org.eclipse.persistence.oxm.schema.XMLSchemaReference.getURL.

Implements org.eclipse.persistence.platform.xml.XMLSchemaReference.getURL.

Doc from org.eclipse.persistence.platform.xml.XMLSchemaReference.getURL.

A URL which referenes the Schema.

Returns:URL

the schema URL

Annotations
@Override
initializeback to summary
public void initialize(CoreAbstractSession<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, PLATFORM extends CorePlatform<CONVERSION_MANAGER extends CoreConversionManager>, PROJECT extends CoreProject<DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>, LOGIN extends CoreLogin<PLATFORM extends CorePlatform>, SESSION extends CoreSession>, SESSION_EVENT_MANAGER extends CoreSessionEventManager<SESSION_EVENT_LISTENER extends CoreSessionEventListener>> session)

Overrides org.eclipse.persistence.oxm.schema.XMLSchemaReference.initialize.

Doc from org.eclipse.persistence.oxm.schema.XMLSchemaReference.initialize.

Allow subclasses to perform initialization if required. This method will typically be called during the owning descriptor's initialization phase.

Annotations
@Override