Class XMLSchemaClassPathReference
- java.lang.Object
-
- org.eclipse.persistence.oxm.schema.XMLSchemaReference
-
- 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
Constructors Constructor Description XMLSchemaClassPathReference()
XMLSchemaClassPathReference(java.lang.String resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URL
getURL()
A URL which referenes the Schema.void
initialize(org.eclipse.persistence.internal.core.sessions.CoreAbstractSession 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
-
-
-
-
Method Detail
-
initialize
public void initialize(org.eclipse.persistence.internal.core.sessions.CoreAbstractSession 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 classXMLSchemaReference
-
getURL
public java.net.URL getURL()
Description copied from interface:XMLSchemaReference
A URL which referenes the Schema.- Specified by:
getURL
in interfaceXMLSchemaReference
- Specified by:
getURL
in classXMLSchemaReference
- Returns:
- the schema URL
-
-