org.eclipse.persistence.oxm.schema
Class XMLSchemaFileReference
java.lang.Object
org.eclipse.persistence.oxm.schema.XMLSchemaReference
org.eclipse.persistence.oxm.schema.XMLSchemaFileReference
- All Implemented Interfaces:
- XMLSchemaReference
public class XMLSchemaFileReference
- extends XMLSchemaReference
A schema reference for accessing an XML Schema from a file.
Methods inherited from class org.eclipse.persistence.oxm.schema.XMLSchemaReference |
getResource, getSchemaContext, getSchemaContextAsQName, getSchemaContextAsQName, getType, initialize, isGlobalDefinition, isValid, setResource, setSchemaContext, setSchemaContextAsQName, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSchemaFileReference
public XMLSchemaFileReference()
XMLSchemaFileReference
public XMLSchemaFileReference(java.io.File file)
XMLSchemaFileReference
public XMLSchemaFileReference(java.lang.String fileName)
getFile
public java.io.File getFile()
setFile
public void setFile(java.io.File file)
getFileName
public java.lang.String getFileName()
setFileName
public void setFileName(java.lang.String filename)
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