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.URLgetURL()A URL which referenes the Schema.voidinitialize(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:XMLSchemaReferenceAllow subclasses to perform initialization if required. This method will typically be called during the owning descriptor's initialization phase.- Overrides:
initializein classXMLSchemaReference
-
getURL
public java.net.URL getURL()
Description copied from interface:XMLSchemaReferenceA URL which referenes the Schema.- Specified by:
getURLin interfaceXMLSchemaReference- Specified by:
getURLin classXMLSchemaReference- Returns:
- the schema URL
-
-