EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.oxm.schema
Class XMLSchemaFileReference

java.lang.Object
  extended by org.eclipse.persistence.oxm.schema.XMLSchemaReference
      extended by 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
XMLSchemaFileReference()
           
XMLSchemaFileReference(java.io.File file)
           
XMLSchemaFileReference(java.lang.String fileName)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSchemaFileReference

public XMLSchemaFileReference()

XMLSchemaFileReference

public XMLSchemaFileReference(java.io.File file)

XMLSchemaFileReference

public XMLSchemaFileReference(java.lang.String fileName)
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 interface XMLSchemaReference
Specified by:
getURL in class XMLSchemaReference
Returns:
the schema URL

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference