Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface Device

All Superinterfaces:
ModelObject, XMLObject

Deprecated. Replaced by DeviceV2

public interface Device
extends ModelObject

A Device is the definition of the target logical device protocol. It can for example be WML11 for WML specific devices, but also WML_Nokia7110 for more Nokia specific WML. Other examples are SMS, EMAIL etc.

Observe that the same physical device can support multiple logical Devices, a phone for example can support both the SMS and the WAP protocols.


Field Summary
static int TYPEID
          Deprecated. The type id of this class.
static java.lang.String TYPENAME
          Deprecated. The constant class type identifier

 

Method Summary
 void addDeviceGroup(DeviceGroup group)
          Deprecated. Add a device to the device group, i.e., associate the device with the given device group.
 void addDynamicAttribute(java.lang.String name, java.lang.String value)
          Deprecated. Adds an dynamic attribute to the device.
 void addUserAgent(java.lang.String userAgent)
          Deprecated. Add userAgent to the list of user agent strings used to detect the device
 void delete()
          Deprecated. Delete this device.
 Transformer findTransformer(java.lang.String mobileXmlVersion)
          Deprecated. As of IAS 9.0.3, replaced by findTransformer(String, MarkupLanguage) Returns the transformer which can be used for transforming mobile XML Documents
 Transformer findTransformer(java.lang.String languageVersion, MarkupLanguage markupLanguage)
          Deprecated. Returns the transformer which can be used for transforming documents
 java.util.HashMap getAllDynamicAttributes()
          Deprecated. Return all the attributes for this device.
 java.lang.String[] getAudioFileExtensions()
          Deprecated.  
 java.lang.String[] getAudioFormatPreferences()
          Deprecated. Gets the audio format preferences for this device
 int getBitsPerPixel()
          Deprecated. Gets the number of bits per pixel for this device
 java.lang.String getContentType()
          Deprecated. Gets the content type for this device
 java.lang.String getDescription()
          Deprecated.  
 DeviceCategory getDeviceCategory()
          Deprecated. Gets the display size type property value
 DeviceGroup[] getDeviceGroups()
          Deprecated. Returns an array of the device groups that the device is associated with.
 DeviceV2 getDeviceV2()
          Deprecated. Return the DeviceV2 object so one can use the new features of the new Device Model.
 java.lang.String getDynamicAttribute(java.lang.String name)
          Deprecated. Get the dynamic attribute's value given it's name.
 java.lang.String getEncoding()
          Deprecated. Gets the encoding value.
 long getId()
          Deprecated. This method returns the id of the device.
 java.lang.String[] getImageFileExtensions()
          Deprecated.  
 java.lang.String[] getImageFormatPreferences()
          Deprecated. Gets the image format preferences for this device
 java.lang.String getManufacturer()
          Deprecated. Gets the manufacturer property value
 int getMaxDocSize()
          Deprecated. Gets the maximum size (in bytes) of the mobile XML document that can be sent to this device
 boolean getMediaFeatureBoolean(java.lang.String feature)
          Deprecated. Gets the media feature value.
 int getMediaFeatureInteger(java.lang.String feature)
          Deprecated. Gets the media feature value.
 double getMediaFeatureLength(java.lang.String feature, java.lang.String unit)
          Deprecated. Gets the media feature value.
 java.util.HashSet getMediaFeatureSet(java.lang.String feature)
          Deprecated. Gets the media feature value.
 java.lang.String getMediaFeatureString(java.lang.String feature)
          Deprecated. Gets the media feature value.
 java.lang.String getMediaType()
          Deprecated. Gets the media type property value
 java.lang.String getMimeType()
          Deprecated. Gets the mimeType property (String) value.
 java.lang.String getModel()
          Deprecated. Gets the model property value
 java.lang.String getName()
          Deprecated. Return the name of the device.
 java.lang.String getParsedErrorPage(org.w3c.dom.Element error)
          Deprecated. Gets a parsed errorPage for this LogicalDevice
 java.lang.String getProlog()
          Deprecated. As of IAS 1.2 Gets the prolog property (String) value.
 int getScreenCols()
          Deprecated. Gets the number of characters per row for this Device.
 int getScreenHeight()
          Deprecated. Gets the screen height in pixels for this Device.
 int getScreenRows()
          Deprecated. Gets the number of character rows for this Device.
 int getScreenWidth()
          Deprecated. Gets the screen width in points for this Device.
 int getSoftKeys()
          Deprecated. Gets the number of "soft" keys for this Device.
 java.lang.String[] getSupportedLanguageVersions(MarkupLanguage markupLanguage)
          Deprecated. Returns markup language versions supported by the device
 java.lang.String[] getSupportedMobileXmlVersions()
          Deprecated. As of IAS 9.0.3, replaced by getSupportedLanguageVersions(MarkupLanguage) Returns an array of mobile xml versions supported by the device
 java.lang.String getTextErrorPage()
          Deprecated. Gets the errorPage property value.
 java.lang.String getTextLoginPage()
          Deprecated. Gets the loginPage property value.
 Transformer getTransformer()
          Deprecated. As of IASW 1.2, replaced by getTransformer(String)
 Transformer getTransformer(java.lang.String mobileXmlVersion)
          Deprecated. As of IAS 9.0.3, replaced by getTransformer(String, MarkupLanguage) Returns transformer for a mobile xml version
 Transformer getTransformer(java.lang.String languageVersion, MarkupLanguage markupLanguage)
          Deprecated. Returns transformer for a markup language version
 java.lang.String[] getUserAgents()
          Deprecated. Gets the list of User Agent Strings which will be used to detect the device
 java.lang.String[] getVideoFileExtensions()
          Deprecated.  
 java.lang.String[] getVideoFormatPreferences()
          Deprecated. Gets the video format preferences for this device
 VideoMode getVideoMode()
          Deprecated. Gets the video mode property value
 org.w3c.dom.Element getXMLErrorPage()
          Deprecated. Gets the errorPage property value.
 org.w3c.dom.Element getXMLLoginPage()
          Deprecated. Gets the loginPage property value.
 boolean isColorCapable()
          Deprecated. Is the device color capable?
 boolean isImageCapable()
          Deprecated. Is the device image capable?
 boolean isNeedsURLCaching()
          Deprecated. Does this device need URL caching?
 boolean isSupportsAmpersandEntity()
          Deprecated. Does this device support ampersand entity (&)
 boolean isSupportsCookie()
          Deprecated. Does the device supports cookie's?
 boolean isSupportsRelativeURL()
          Deprecated. Does this device supports relative URL's?
 boolean isVideoCapable()
          Deprecated. Is the device Video Capable?
 boolean isVoiceCapable()
          Deprecated. Is the device voice capable?
 void modifyUserAgent(java.lang.String oldUserAgent, java.lang.String newUserAgent)
          Deprecated. Modifies the User Agent
 void removeDeviceGroup(DeviceGroup group)
          Deprecated. Remove a device from the device group, i.e., un-associate the device with the given device group.
 void removeDynamicAttribute(java.lang.String name)
          Deprecated. Remove the dynamic attribute.
 void removeTransformer(java.lang.String mobileXmlVersion)
          Deprecated. As of IAS 9.0.3, replaced by removeTransformer(String, MarkupLanguage) Removes the transformer for a mobile xml version
 void removeTransformer(java.lang.String languageVersion, MarkupLanguage markupLanguage)
          Deprecated. Removes transfomer for a markup language version
 void removeUserAgent(java.lang.String userAgent)
          Deprecated. Removes userAgent from the list of user agent strings used to detect the device
 void setAudioFormatPreferences(java.lang.String[] audioPrefs)
          Deprecated. Sets the audio format preferences for this device
 void setBitsPerPixel(int bitsPerPixel)
          Deprecated. Sets the number of bits per pixel for this device
 void setColorCapable(boolean colorCapable)
          Deprecated. Sets the colorCapable property value
 void setDescription(java.lang.String description)
          Deprecated.  
 void setDeviceCategory(DeviceCategory deviceCategory)
          Deprecated. Sets the display size type property value
 void setEncoding(java.lang.String encoding)
          Deprecated. Sets the encoding value for this Device.
 void setImageCapable(boolean imageCapable)
          Deprecated. Sets the imageCapable propery value
 void setImageFormatPreferences(java.lang.String[] imagePrefs)
          Deprecated. Sets the image format preferences for this device
 void setManufacturer(java.lang.String manufacturer)
          Deprecated. Sets the manufacturer property value
 void setMaxDocSize(int maxDocSize)
          Deprecated. Sets the maximum size (in bytes) of the mobile XML document that can be sent to this device
 void setMediaFeatureBoolean(java.lang.String feature, boolean value)
          Deprecated. Sets the media feature value.
 void setMediaFeatureInteger(java.lang.String feature, int value)
          Deprecated. Sets the media feature value.
 void setMediaFeatureLength(java.lang.String feature, java.lang.String unit, double value)
          Deprecated. Sets the media feature value.
 void setMediaFeatureSet(java.lang.String feature, java.util.HashSet value)
          Deprecated. Sets the media feature value.
 void setMediaFeatureString(java.lang.String feature, java.lang.String value)
          Deprecated. Sets the media feature value.
 void setMediaType(java.lang.String mediaType)
          Deprecated. Sets the media type property value
 void setMimeType(java.lang.String mimeType)
          Deprecated. Sets the mimeType property (String) value.
 void setModel(java.lang.String model)
          Deprecated. Sets the model property value
 void setName(java.lang.String name)
          Deprecated. Set the name of the device.
 void setNeedsURLCaching(boolean needsURLCaching)
          Deprecated. Sets the needsURLCaching property (boolean) value.
 void setProlog(java.lang.String prolog)
          Deprecated. As of IAS 1.2 Sets the prolog property (String) value.
 void setScreenCols(int cols)
          Deprecated. Sets the number of characters per row for this Device.
 void setScreenHeight(int height)
          Deprecated. Sets the screen height in pixels for this Device.
 void setScreenRows(int rows)
          Deprecated. Sets the number of character rows for this Device.
 void setScreenWidth(int width)
          Deprecated. Sets the screen width in points for this Device.
 void setSoftKeys(int softKeys)
          Deprecated. Sets the number of "soft" keys for this Device.
 void setSupportsAmpersandEntity(boolean supportsAmpersandEntity)
          Deprecated. Sets the supportsAmpersandEntity propery value
 void setSupportsCookie(boolean supportsCookie)
          Deprecated. Sets the supportsCookie property value
 void setSupportsRelativeURL(boolean supportsRelativeURL)
          Deprecated. Sets the supportsRelativeURL property value
 void setTextErrorPage(java.lang.String errorPage)
          Deprecated. Sets the errorPage property value.
 void setTextLoginPage(java.lang.String loginPage)
          Deprecated. Sets the loginPage property value.
 void setTransformer(Transformer transformer)
          Deprecated. Sets the transformer for a mobile xml version
 void setUserAgents(java.lang.String[] userAgents)
          Deprecated. Sets User Agent Strings which will be used to detect the device
 void setVideoCapable(boolean videoCapable)
          Deprecated. Sets the videoCapable property value
 void setVideoFormatPreferences(java.lang.String[] videoPrefs)
          Deprecated. Sets the video format preferences for this device
 void setVideoMode(VideoMode videoMode)
          Deprecated. Sets the video mode property value
 void setVoiceCapable(boolean voiceCapable)
          Deprecated. Sets the voiceCapable property value
 void setXMLErrorPage(org.w3c.dom.Element errorPage)
          Deprecated. Sets the errorPage property value.
 void setXMLLoginPage(org.w3c.dom.Element loginPage)
          Deprecated. Sets the loginPage property value.

 

Methods inherited from interface oracle.panama.model.ModelObject
getCreatedDate, getLastModifiedDate, getTypeId, getTypeName, isSystem, setSystem, undoAll

 

Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML

 

Field Detail

TYPEID

public static final int TYPEID
Deprecated.
The type id of this class.
See Also:
Constant Field Values

TYPENAME

public static final java.lang.String TYPENAME
Deprecated.
The constant class type identifier
See Also:
Constant Field Values

Method Detail

addDeviceGroup

public void addDeviceGroup(DeviceGroup group)
Deprecated.
Add a device to the device group, i.e., associate the device with the given device group.
Parameters:
group - The device group for the device to be associated with.
Throws:
java.lang.IllegalArgumentException - in case of group parameter is null.

addDynamicAttribute

public void addDynamicAttribute(java.lang.String name,
                                java.lang.String value)
Deprecated.
Adds an dynamic attribute to the device.
Parameters:
name - The name of the attribute. The name has to be unique per device!
value - The value of the attribute.

addUserAgent

public void addUserAgent(java.lang.String userAgent)
Deprecated. Add userAgent to the list of user agent strings used to detect the device
Parameters:
userAgent - the user agent string

delete

public void delete()
Deprecated.
Delete this device.
Specified by:
delete in interface ModelObject

findTransformer

public Transformer findTransformer(java.lang.String mobileXmlVersion)
                            throws PanamaRuntimeException
Deprecated. As of IAS 9.0.3, replaced by findTransformer(String, MarkupLanguage) Returns the transformer which can be used for transforming mobile XML Documents
Parameters:
mobileXmlVersion - the mobile xml version
Returns:
Transformer the transformer
Throws:
PanamaRuntimeException - when a transformer is not found

findTransformer

public Transformer findTransformer(java.lang.String languageVersion,
                                   MarkupLanguage markupLanguage)
                            throws PanamaRuntimeException
Deprecated. Returns the transformer which can be used for transforming documents
Parameters:
languageVersion - the markup language version
markupLanguage - the markup language
Returns:
Transformer the transformer
Throws:
PanamaRuntimeException - when a transformer is not found

getAllDynamicAttributes

public java.util.HashMap getAllDynamicAttributes()
Deprecated.
Return all the attributes for this device.
Returns:
The attributes for this device in the form of hash map.

getAudioFileExtensions

public java.lang.String[] getAudioFileExtensions()
Deprecated.
Returns:
the audio file extensions supported by the device

getAudioFormatPreferences

public java.lang.String[] getAudioFormatPreferences()
Deprecated. Gets the audio format preferences for this device
Returns:
String[] array of audio mime types
See Also:
setAudioFormatPreferences(java.lang.String[])

getBitsPerPixel

public int getBitsPerPixel()
Deprecated. Gets the number of bits per pixel for this device
Returns:
int bits per pixel
See Also:
setBitsPerPixel(int)

getContentType

public java.lang.String getContentType()
Deprecated. Gets the content type for this device
Returns:
the content type

getDescription

public java.lang.String getDescription()
Deprecated.
Returns:
the description or null if not set.

getDeviceCategory

public DeviceCategory getDeviceCategory()
Deprecated. Gets the display size type property value
Returns:
DeviceCategory the display size type #see #setDeviceCategory

getDeviceGroups

public DeviceGroup[] getDeviceGroups()
Deprecated.
Returns an array of the device groups that the device is associated with.
Returns:
An array of the device groups that the device is associated with. An empty array is returned in case there is no such association.

getDeviceV2

public DeviceV2 getDeviceV2()
Deprecated.
Return the DeviceV2 object so one can use the new features of the new Device Model.
Returns:
The DeviceV2 object.

getDynamicAttribute

public java.lang.String getDynamicAttribute(java.lang.String name)
Deprecated.
Get the dynamic attribute's value given it's name.
Parameters:
name - The name of the attribute interested.
Returns:
The value of the attribute that's interesting.

getEncoding

public java.lang.String getEncoding()
Deprecated. Gets the encoding value.
Returns:
a String with encoding value.
See Also:
setEncoding(java.lang.String)

getId

public long getId()
Deprecated.
This method returns the id of the device. This id does not necessarily uniquely identifies the device though since for some of the devices, they do not use the same sequence as the others.
Specified by:
getId in interface ModelObject
Returns:
the Id of the device. Note this does not necessarily uniquely identifies the device, as the user device does use the same sequence number as the other devices.

getImageFileExtensions

public java.lang.String[] getImageFileExtensions()
Deprecated.
Returns:
the image file extensions supported by the device

getImageFormatPreferences

public java.lang.String[] getImageFormatPreferences()
Deprecated. Gets the image format preferences for this device
Returns:
String[] array of image mime types
See Also:
setImageFormatPreferences(java.lang.String[])

getManufacturer

public java.lang.String getManufacturer()
Deprecated. Gets the manufacturer property value
Returns:
String the device manufacturer
See Also:
setManufacturer(java.lang.String)

getMaxDocSize

public int getMaxDocSize()
Deprecated. Gets the maximum size (in bytes) of the mobile XML document that can be sent to this device
Returns:
int maximum size of Mobile XML document
See Also:
setMaxDocSize(int)

getMediaFeatureBoolean

public boolean getMediaFeatureBoolean(java.lang.String feature)
Deprecated. Gets the media feature value.
Parameters:
feature - the media feature
Returns:
boolean the value of the media feature.

getMediaFeatureInteger

public int getMediaFeatureInteger(java.lang.String feature)
Deprecated. Gets the media feature value.
Parameters:
feature - the media feature
Returns:
int the value of the media feature.

getMediaFeatureLength

public double getMediaFeatureLength(java.lang.String feature,
                                    java.lang.String unit)
Deprecated. Gets the media feature value.
Parameters:
feature - the media feature
unit - the absolute unit for the length
Returns:
double the value of the media feature

getMediaFeatureSet

public java.util.HashSet getMediaFeatureSet(java.lang.String feature)
Deprecated. Gets the media feature value.
Parameters:
feature - the media feature
Returns:
HashSet the value of the media feature.

getMediaFeatureString

public java.lang.String getMediaFeatureString(java.lang.String feature)
Deprecated. Gets the media feature value.
Parameters:
feature - the media feature
Returns:
String the value of the media feature.

getMediaType

public java.lang.String getMediaType()
Deprecated. Gets the media type property value
Returns:
String the media type property value #see #setMediaType

getMimeType

public java.lang.String getMimeType()
Deprecated. Gets the mimeType property (String) value.
Returns:
The mimeType property value.
See Also:
setMimeType(java.lang.String)

getModel

public java.lang.String getModel()
Deprecated. Gets the model property value
Returns:
String the device model
See Also:
setModel(java.lang.String)

getName

public java.lang.String getName()
Deprecated.
Return the name of the device.
Specified by:
getName in interface ModelObject
Returns:
The name of the device.

getParsedErrorPage

public java.lang.String getParsedErrorPage(org.w3c.dom.Element error)
                                    throws java.lang.Exception
Deprecated. Gets a parsed errorPage for this LogicalDevice
Parameters:
error - an xml error element of the format
"<PanamaError>Error text here</PanamaError>"
Returns:
the parsed errorPage
Throws:
java.lang.Exception

getProlog

public java.lang.String getProlog()
Deprecated. As of IAS 1.2 Gets the prolog property (String) value.
Returns:
The prolog property value.

getScreenCols

public int getScreenCols()
Deprecated. Gets the number of characters per row for this Device.
Returns:
int the number of characters per row
See Also:
setScreenCols(int)

getScreenHeight

public int getScreenHeight()
Deprecated. Gets the screen height in pixels for this Device.
Returns:
int the screen height.
See Also:
setScreenHeight(int)

getScreenRows

public int getScreenRows()
Deprecated. Gets the number of character rows for this Device.
Returns:
int the number of rows
See Also:
setScreenRows(int)

getScreenWidth

public int getScreenWidth()
Deprecated. Gets the screen width in points for this Device.
Returns:
int the screen width.
See Also:
setScreenWidth(int)

getSoftKeys

public int getSoftKeys()
Deprecated. Gets the number of "soft" keys for this Device.
Returns:
int the number of "soft" keys
See Also:
setScreenCols(int)

getSupportedLanguageVersions

public java.lang.String[] getSupportedLanguageVersions(MarkupLanguage markupLanguage)
Deprecated. Returns markup language versions supported by the device
Parameters:
markupLanguage - the markup language
Returns:
String[] language versions supported by the device

getSupportedMobileXmlVersions

public java.lang.String[] getSupportedMobileXmlVersions()
Deprecated. As of IAS 9.0.3, replaced by getSupportedLanguageVersions(MarkupLanguage) Returns an array of mobile xml versions supported by the device
Returns:
String[] mobile xml versions versions supported by the device

getTextErrorPage

public java.lang.String getTextErrorPage()
Deprecated. Gets the errorPage property value.
Returns:
The errorPage property value.
See Also:
setTextErrorPage(java.lang.String)

getTextLoginPage

public java.lang.String getTextLoginPage()
Deprecated. Gets the loginPage property value.
Returns:
The loginPage property value.
See Also:
setTextLoginPage(java.lang.String)

getTransformer

public Transformer getTransformer()
Deprecated. As of IASW 1.2, replaced by getTransformer(String)
Returns:
the default transformer

getTransformer

public Transformer getTransformer(java.lang.String mobileXmlVersion)
Deprecated. As of IAS 9.0.3, replaced by getTransformer(String, MarkupLanguage) Returns transformer for a mobile xml version
Parameters:
mobileXmlVersion - the version of Mobile xml
Returns:
transformer for Mobile XML version version

getTransformer

public Transformer getTransformer(java.lang.String languageVersion,
                                  MarkupLanguage markupLanguage)
Deprecated. Returns transformer for a markup language version
Parameters:
languageVersion - the markup language version
markupLanguage - the markup language
Returns:
Transformer the transformer

getUserAgents

public java.lang.String[] getUserAgents()
Deprecated. Gets the list of User Agent Strings which will be used to detect the device
Returns:
an array of user agent strings

getVideoFileExtensions

public java.lang.String[] getVideoFileExtensions()
Deprecated.
Returns:
the video file extensions supported by the device

getVideoFormatPreferences

public java.lang.String[] getVideoFormatPreferences()
Deprecated. Gets the video format preferences for this device
Returns:
String[] array of video mime types
See Also:
setVideoFormatPreferences(java.lang.String[])

getVideoMode

public VideoMode getVideoMode()
Deprecated. Gets the video mode property value
Returns:
VideoMode the video mode supported by the device, Null is returned if not defined.

getXMLErrorPage

public org.w3c.dom.Element getXMLErrorPage()
Deprecated. Gets the errorPage property value.
Returns:
The errorPage property value.
See Also:
setXMLErrorPage(org.w3c.dom.Element)

getXMLLoginPage

public org.w3c.dom.Element getXMLLoginPage()
Deprecated. Gets the loginPage property value.
Returns:
The loginPage property value.
See Also:
setXMLLoginPage(org.w3c.dom.Element)

isColorCapable

public boolean isColorCapable()
Deprecated. Is the device color capable?
Returns:
true if the device is color capable
See Also:
setColorCapable(boolean)

isImageCapable

public boolean isImageCapable()
Deprecated. Is the device image capable?
Returns:
true of device is image capable
See Also:
setImageCapable(boolean)

isNeedsURLCaching

public boolean isNeedsURLCaching()
Deprecated. Does this device need URL caching?
Returns:
true if the device needs URL caching
See Also:
setNeedsURLCaching(boolean)

isSupportsAmpersandEntity

public boolean isSupportsAmpersandEntity()
Deprecated. Does this device support ampersand entity (&)
Returns:
true if the device supports ampersand entity
See Also:
setSupportsAmpersandEntity(boolean)

isSupportsCookie

public boolean isSupportsCookie()
Deprecated. Does the device supports cookie's?
Returns:
true if the device supports cookie #see #setSupportsCookie

isSupportsRelativeURL

public boolean isSupportsRelativeURL()
Deprecated. Does this device supports relative URL's?
Returns:
true if the device supports relative URL's
See Also:
setSupportsRelativeURL(boolean)

isVideoCapable

public boolean isVideoCapable()
Deprecated. Is the device Video Capable?
Returns:
true if the device is video capable
See Also:
setVideoCapable(boolean)

isVoiceCapable

public boolean isVoiceCapable()
Deprecated. Is the device voice capable?
Returns:
true if the device is voice capable
See Also:
setVoiceCapable(boolean)

modifyUserAgent

public void modifyUserAgent(java.lang.String oldUserAgent,
                            java.lang.String newUserAgent)
Deprecated. Modifies the User Agent
Parameters:
oldUserAgent - the previous user agent string
newUserAgent - the new user agent string

removeDeviceGroup

public void removeDeviceGroup(DeviceGroup group)
Deprecated.
Remove a device from the device group, i.e., un-associate the device with the given device group.
Parameters:
group - The device group for the device to not be associated with.
Throws:
java.lang.IllegalArgumentException - in case of group parameter is null.

removeDynamicAttribute

public void removeDynamicAttribute(java.lang.String name)
Deprecated.
Remove the dynamic attribute.
Parameters:
name - The name of the attribute to be removed

removeTransformer

public void removeTransformer(java.lang.String mobileXmlVersion)
Deprecated. As of IAS 9.0.3, replaced by removeTransformer(String, MarkupLanguage) Removes the transformer for a mobile xml version
Parameters:
mobileXmlVersion - the mobile xml version

removeTransformer

public void removeTransformer(java.lang.String languageVersion,
                              MarkupLanguage markupLanguage)
Deprecated. Removes transfomer for a markup language version
Parameters:
languageVersion - the markup language version
markupLanguage - the markup language

removeUserAgent

public void removeUserAgent(java.lang.String userAgent)
Deprecated. Removes userAgent from the list of user agent strings used to detect the device
Parameters:
userAgent - teh user agent string

setAudioFormatPreferences

public void setAudioFormatPreferences(java.lang.String[] audioPrefs)
Deprecated. Sets the audio format preferences for this device
Parameters:
audioPrefs - array of video mime types
See Also:
getAudioFormatPreferences()

setBitsPerPixel

public void setBitsPerPixel(int bitsPerPixel)
Deprecated. Sets the number of bits per pixel for this device
Parameters:
bitsPerPixel - the new bits per pixel for this device
See Also:
getBitsPerPixel()

setColorCapable

public void setColorCapable(boolean colorCapable)
Deprecated. Sets the colorCapable property value
Parameters:
colorCapable - the new property value
See Also:
isColorCapable()

setDescription

public void setDescription(java.lang.String description)
Deprecated.
Parameters:
description - the description text.

setDeviceCategory

public void setDeviceCategory(DeviceCategory deviceCategory)
Deprecated. Sets the display size type property value
Parameters:
deviceCategory - the new property value
See Also:
getDeviceCategory()

setEncoding

public void setEncoding(java.lang.String encoding)
Deprecated. Sets the encoding value for this Device.
Parameters:
encoding - The new encoding for this Device
See Also:
getEncoding()

setImageCapable

public void setImageCapable(boolean imageCapable)
Deprecated. Sets the imageCapable propery value
Parameters:
imageCapable - the new value for the property
See Also:
isImageCapable()

setImageFormatPreferences

public void setImageFormatPreferences(java.lang.String[] imagePrefs)
Deprecated. Sets the image format preferences for this device
Parameters:
imagePrefs - array of image mime types
See Also:
getImageFormatPreferences()

setManufacturer

public void setManufacturer(java.lang.String manufacturer)
Deprecated. Sets the manufacturer property value
Parameters:
manufacturer - the device manufacturer
See Also:
getManufacturer()

setMaxDocSize

public void setMaxDocSize(int maxDocSize)
Deprecated. Sets the maximum size (in bytes) of the mobile XML document that can be sent to this device
Parameters:
maxDocSize - maximum size of the Mobile XML document
See Also:
getMaxDocSize()

setMediaFeatureBoolean

public void setMediaFeatureBoolean(java.lang.String feature,
                                   boolean value)
Deprecated. Sets the media feature value.
Parameters:
feature - the media feature to be set
value - the value of the media feature

setMediaFeatureInteger

public void setMediaFeatureInteger(java.lang.String feature,
                                   int value)
Deprecated. Sets the media feature value.
Parameters:
feature - the media feature to be set
value - the value of the media feature

setMediaFeatureLength

public void setMediaFeatureLength(java.lang.String feature,
                                  java.lang.String unit,
                                  double value)
Deprecated. Sets the media feature value.
Parameters:
feature - the media feature to be set
unit - the absolute unit for the length
value - the value of the media feature

setMediaFeatureSet

public void setMediaFeatureSet(java.lang.String feature,
                               java.util.HashSet value)
Deprecated. Sets the media feature value.
Parameters:
feature - the media feature to be set
value - the value of the media feature

setMediaFeatureString

public void setMediaFeatureString(java.lang.String feature,
                                  java.lang.String value)
Deprecated. Sets the media feature value.
Parameters:
feature - the media feature to be set
value - the value of the media feature

setMediaType

public void setMediaType(java.lang.String mediaType)
Deprecated. Sets the media type property value
Parameters:
mediaType - the new property value
See Also:
getMediaType()

setMimeType

public void setMimeType(java.lang.String mimeType)
Deprecated. Sets the mimeType property (String) value.
Parameters:
mimeType - The new value for the property.
See Also:
getMimeType()

setModel

public void setModel(java.lang.String model)
Deprecated. Sets the model property value
Parameters:
model - the device model
See Also:
getModel()

setName

public void setName(java.lang.String name)
Deprecated.
Set the name of the device.
Specified by:
setName in interface ModelObject
Parameters:
name - The name of the device.

setNeedsURLCaching

public void setNeedsURLCaching(boolean needsURLCaching)
Deprecated. Sets the needsURLCaching property (boolean) value.
Parameters:
needsURLCaching - The new value for the property.
See Also:
isNeedsURLCaching()

setProlog

public void setProlog(java.lang.String prolog)
Deprecated. As of IAS 1.2 Sets the prolog property (String) value.
Parameters:
prolog - The new value for the property.
See Also:
getProlog()

setScreenCols

public void setScreenCols(int cols)
Deprecated. Sets the number of characters per row for this Device.
Parameters:
cols - The new number of characters per row for this Device
See Also:
getScreenCols()

setScreenHeight

public void setScreenHeight(int height)
Deprecated. Sets the screen height in pixels for this Device.
Parameters:
height - The new screen height for this Device
See Also:
getScreenHeight()

setScreenRows

public void setScreenRows(int rows)
Deprecated. Sets the number of character rows for this Device.
Parameters:
rows - The new number of rows for this Device
See Also:
getScreenRows()

setScreenWidth

public void setScreenWidth(int width)
Deprecated. Sets the screen width in points for this Device.
Parameters:
width - The new screen width for this Device
See Also:
getScreenWidth()

setSoftKeys

public void setSoftKeys(int softKeys)
Deprecated. Sets the number of "soft" keys for this Device.
Parameters:
softKeys - The new number of "soft" keys for this Device
See Also:
setSoftKeys(int)

setSupportsAmpersandEntity

public void setSupportsAmpersandEntity(boolean supportsAmpersandEntity)
Deprecated. Sets the supportsAmpersandEntity propery value
Parameters:
supportsAmpersandEntity - the new propeerty value
See Also:
isSupportsAmpersandEntity()

setSupportsCookie

public void setSupportsCookie(boolean supportsCookie)
Deprecated. Sets the supportsCookie property value
Parameters:
supportsCookie - the new property value #see #isSupportsCookie

setSupportsRelativeURL

public void setSupportsRelativeURL(boolean supportsRelativeURL)
Deprecated. Sets the supportsRelativeURL property value
Parameters:
supportsRelativeURL - the new property value
See Also:
isSupportsRelativeURL()

setTextErrorPage

public void setTextErrorPage(java.lang.String errorPage)
Deprecated. Sets the errorPage property value.
Parameters:
errorPage - The new value for the property.
See Also:
getTextErrorPage()

setTextLoginPage

public void setTextLoginPage(java.lang.String loginPage)
Deprecated. Sets the loginPage property value.
Parameters:
loginPage - The new value for the property.
See Also:
getTextLoginPage()

setTransformer

public void setTransformer(Transformer transformer)
Deprecated. Sets the transformer for a mobile xml version
Parameters:
transformer - the transformer

setUserAgents

public void setUserAgents(java.lang.String[] userAgents)
Deprecated. Sets User Agent Strings which will be used to detect the device
Parameters:
userAgents - array of user agent strings

setVideoCapable

public void setVideoCapable(boolean videoCapable)
Deprecated. Sets the videoCapable property value
Parameters:
videoCapable - the new property value
See Also:
isVideoCapable()

setVideoFormatPreferences

public void setVideoFormatPreferences(java.lang.String[] videoPrefs)
Deprecated. Sets the video format preferences for this device
Parameters:
videoPrefs - array of video mime types
See Also:
getVideoFormatPreferences()

setVideoMode

public void setVideoMode(VideoMode videoMode)
Deprecated. Sets the video mode property value
Parameters:
videoMode - the new property value

setVoiceCapable

public void setVoiceCapable(boolean voiceCapable)
Deprecated. Sets the voiceCapable property value
Parameters:
voiceCapable - the new property value
See Also:
isVoiceCapable()

setXMLErrorPage

public void setXMLErrorPage(org.w3c.dom.Element errorPage)
Deprecated. Sets the errorPage property value.
Parameters:
errorPage - The new value for the property.
See Also:
getXMLErrorPage()

setXMLLoginPage

public void setXMLLoginPage(org.w3c.dom.Element loginPage)
Deprecated. Sets the loginPage property value.
Parameters:
loginPage - The new value for the property.
See Also:
getXMLLoginPage()

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.