oracle.panama.model
Interface Transformer

All Superinterfaces:
ModelObject, XMLObject
All Known Subinterfaces:
JavaTransformer, XSLTransformer

public interface Transformer
extends ModelObject

The transfomer is the abstract base interface for all transformation sub-classes. It acts as a bridge between the real transformation implementation (Java or XSL) and the clients.


Field Summary
TypeField
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier
 
Method Summary
TypeMethod
 void addDefaultForDevice(Device defaultForDevice)
          Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Set this Transformer to be used as default for the Device. (Type OM.) This Transformer is used as a default Transformer for the specified Device. A Transformer could be overridden if a MasterService customize a Transformer.
 Device[] getDefaultForDevices()
          Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Get a set of DefaultForDevice. (Type OM.)
 Device getDevice()
          Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Gets the Device property value. (Type MO.)
 java.lang.String getMimeType()
          Gets the mime type property value.
 java.lang.String getMobileXmlVersion()
          Gets the mobile xml version property value.
 MasterService getService()
          Deprecated. As of IAS 1.2, a transformer cannot be associated with a master service Gets the MasterService property value. (Type MO.)
 void removeDefaultDevice(Device defaultForDevice)
          Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Remove a default logical device
 void setDevice(Device device)
          Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Sets the Device association to a Device. (Type MO.)
 void setMimeType(java.lang.String mimeType)
          Sets the mime type property value
 void setMobileXmlVersion(java.lang.String mobileXmlVersion)
          Sets the mobile xml version property value
 void setService(MasterService aMasterService)
          Deprecated. As of IAS 1.2, a transformer cannot be associates with a master service Sets the MasterService association to a MasterService. (Type MO.)
 void transform(org.w3c.dom.Element element, java.io.Writer outWriter)
          Do transformation of an element into a device specific markup language.
 
Methods inherited from interface oracle.panama.model.ModelObject
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId, getTypeName, isSystem, setName, setSystem, undoAll
 
Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML
 

Field Detail

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier

TYPEID

public static final int TYPEID
The type id of this class.
Method Detail

getMimeType

public java.lang.String getMimeType()
Gets the mime type property value. The mime type property specifies the mime type of the output document produced by the transformer.
Returns:
The mime type propery value
See Also:
setMimeType(java.lang.String)

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime type property value
Parameters:
mimeType - mime type value
See Also:
$getMimeType

getMobileXmlVersion

public java.lang.String getMobileXmlVersion()
Gets the mobile xml version property value.
Returns:
the mobile xml version
See Also:
setMobileXmlVersion(java.lang.String)

setMobileXmlVersion

public void setMobileXmlVersion(java.lang.String mobileXmlVersion)
Sets the mobile xml version property value
Parameters:
mobileXmlVersion - the mobile xml version
See Also:
getMobileXmlVersion

getService

public MasterService getService()
Deprecated. As of IAS 1.2, a transformer cannot be associated with a master service Gets the MasterService property value. (Type MO.)

Returns:
The MasterService property value. (oracle.panama.model.MasterService)
See Also:
#setMasterService

setService

public void setService(MasterService aMasterService)
Deprecated. As of IAS 1.2, a transformer cannot be associates with a master service Sets the MasterService association to a MasterService. (Type MO.)

Parameters:
aImpl - The new asociation (oracle.panama.model.MasterService).
See Also:

getDevice

public Device getDevice()
Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Gets the Device property value. (Type MO.)

Returns:
The Device property value. (oracle.panama.model.Device)
See Also:
setDevice(oracle.panama.model.Device)

setDevice

public void setDevice(Device device)
Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Sets the Device association to a Device. (Type MO.)

Parameters:
device - The new asociation (oracle.panama.model.Device).
See Also:
getDevice()

addDefaultForDevice

public void addDefaultForDevice(Device defaultForDevice)
Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Set this Transformer to be used as default for the Device. (Type OM.) This Transformer is used as a default Transformer for the specified Device. A Transformer could be overridden if a MasterService customize a Transformer.

Parameters:
defaultForDevice - The new member of the set.
See Also:
and @see #removeDefaultForDevice

getDefaultForDevices

public Device[] getDefaultForDevices()
Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Get a set of DefaultForDevice. (Type OM.)

Returns:
a set of DefaultForDevice.
See Also:
addDefaultForDevice(oracle.panama.model.Device), #removeDefaultForDevice

removeDefaultDevice

public void removeDefaultDevice(Device defaultForDevice)
Deprecated. As of IAS1.2, the device to transformer mapping is stored in the device object. Remove a default logical device

Parameters:
defaultForDevice - the device to remove

transform

public void transform(org.w3c.dom.Element element,
                      java.io.Writer outWriter)
               throws PanamaException
Do transformation of an element into a device specific markup language.

Parameters:
element - the panama dom element.
outWriter - the Writer for the output
Returns:
the ready content as a string.