Oracle Application Server Wireless Java API Reference
B10400-01

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
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier

 

Method Summary
 void addDefaultForDevice(Device defaultForDevice)
          Deprecated. The device to transformer mapping is no longer stored in the transformer 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. The device to transformer mapping is no longer stored in the transformer object. Get a set of DefaultForDevice. (Type OM.)
 Device getDevice()
          Deprecated. The device to transformer mapping is no longer stored in the transformer object. Gets the Device property value. (Type MO.)
 MarkupLanguage getMarkupLanguage()
          Gets the markup language property value.
 java.lang.String getMarkupLanguageVersion()
          Gets the markup language version property value.
 java.lang.String getMimeType()
          Gets the mime type property value.
 java.lang.String getMobileXmlVersion()
          Deprecated. Replaced by #getMarkupLangugaeVersion() Gets the mobile xml version property value.
 PostTransformer getPostTransformer()
           
 java.lang.String getPostTransformerClassName()
          Gets post-transformer className property value.
 PreTransformer getPreTransformer()
           
 java.lang.String getPreTransformerClassName()
          Gets pre-transformer className property value.
 void removeDefaultDevice(Device defaultForDevice)
          Deprecated. The device to transformer mapping is no longer stored in the transformer object. Remove a default logical device
 void setDevice(Device device)
          Deprecated. The device to transformer mapping is no longer stored in the transformer object. Sets the Device association to a Device. (Type MO.)
 void setMarkupLanguage(MarkupLanguage markupLanguage)
          Sets the markup language property value.
 void setMarkupLanguageVersion(java.lang.String languageVersion)
          Sets the markup language version property value
 void setMimeType(java.lang.String mimeType)
          Sets the mime type property value
 void setMobileXmlVersion(java.lang.String mobileXmlVersion)
          Deprecated. Replaced by #setMarkupLangugaeVersion(String) Sets the mobile xml version property value
 void setPostTransformerClassName(java.lang.String className)
          Sets the post-transformer className property value.
 void setPreTransformerClassName(java.lang.String className)
          Sets the pre-transformer className property value.
 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
See Also:
Constant Field Values

TYPEID

public static final int TYPEID
The type id of this class.
See Also:
Constant Field Values
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()
Deprecated. Replaced by #getMarkupLangugaeVersion() 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)
Deprecated. Replaced by #setMarkupLangugaeVersion(String) Sets the mobile xml version property value
Parameters:
mobileXmlVersion - the mobile xml version
See Also:
getMobileXmlVersion

getMarkupLanguageVersion

public java.lang.String getMarkupLanguageVersion()
Gets the markup language version property value.
Returns:
the mark language version supported by the transformer
See Also:
setMarkupLanguageVersion(java.lang.String)

setMarkupLanguageVersion

public void setMarkupLanguageVersion(java.lang.String languageVersion)
Sets the markup language version property value
Parameters:
languageVersion - the markup language version
See Also:
getMarkupLanguageVersion

getMarkupLanguage

public MarkupLanguage getMarkupLanguage()
Gets the markup language property value.
Returns:
the mark language supported by the transformer
See Also:
#setMarkupLangugae

setMarkupLanguage

public void setMarkupLanguage(MarkupLanguage markupLanguage)
Sets the markup language property value.
Parameters:
markupLanguage - the mark language supported by the transformer
See Also:
#getMarkupLangugae

getDevice

public Device getDevice()
Deprecated. The device to transformer mapping is no longer stored in the transformer 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. The device to transformer mapping is no longer stored in the transformer 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. The device to transformer mapping is no longer stored in the transformer 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. The device to transformer mapping is no longer stored in the transformer 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. The device to transformer mapping is no longer stored in the transformer 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.
PanamaException

getPreTransformer

public PreTransformer getPreTransformer()
Returns:
PreTransformer the pre-transformer

getPostTransformer

public PostTransformer getPostTransformer()
Returns:
PostTransformer the post-transformer

getPreTransformerClassName

public java.lang.String getPreTransformerClassName()
Gets pre-transformer className property value.
Returns:
the pre-transformer className property value
See Also:
setPreTransformerClassName(java.lang.String)

setPreTransformerClassName

public void setPreTransformerClassName(java.lang.String className)
Sets the pre-transformer className property value.
Parameters:
className - the pre-transformer class Name
See Also:
getPreTransformerClassName()

getPostTransformerClassName

public java.lang.String getPostTransformerClassName()
Gets post-transformer className property value.
Returns:
the post-transformer className
See Also:
setPostTransformerClassName(java.lang.String)

setPostTransformerClassName

public void setPostTransformerClassName(java.lang.String className)
Sets the post-transformer className property value.
Parameters:
className - the post-transformer class Name
See Also:
getPostTransformerClassName()

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.