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.
-
-
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 XMLSchemaFileReference()
XMLSchemaFileReference(java.io.File file)
XMLSchemaFileReference(java.lang.String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
java.lang.String
getFileName()
java.net.URL
getURL()
A URL which referenes the Schema.void
setFile(java.io.File file)
void
setFileName(java.lang.String filename)
-
Methods inherited from class org.eclipse.persistence.oxm.schema.XMLSchemaReference
getResource, getSchemaContext, getSchemaContextAsQName, getSchemaContextAsQName, getType, initialize, isGlobalDefinition, isValid, setResource, setSchemaContext, setSchemaContextAsQName, setType
-
-
-
-
Method Detail
-
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 interfaceXMLSchemaReference
- Specified by:
getURL
in classXMLSchemaReference
- Returns:
- the schema URL
-
-