|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Deprecated. Replaced by DeviceV2
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 |
public static final int TYPEID
public static final java.lang.String TYPENAME
Method Detail |
public void addDeviceGroup(DeviceGroup group)
group
- The device group for the device to be associated with.java.lang.IllegalArgumentException
- in case of group parameter is null.public void addDynamicAttribute(java.lang.String name, java.lang.String value)
name
- The name of the attribute. The name has to be unique per device!value
- The value of the attribute.public void addUserAgent(java.lang.String userAgent)
userAgent
- the user agent stringpublic void delete()
delete
in interface ModelObject
public Transformer findTransformer(java.lang.String mobileXmlVersion) throws PanamaRuntimeException
findTransformer(String, MarkupLanguage)
Returns the transformer which can be used for transforming mobile XML DocumentsmobileXmlVersion
- the mobile xml versionPanamaRuntimeException
- when a transformer is not foundpublic Transformer findTransformer(java.lang.String languageVersion, MarkupLanguage markupLanguage) throws PanamaRuntimeException
languageVersion
- the markup language versionmarkupLanguage
- the markup languagePanamaRuntimeException
- when a transformer is not foundpublic java.util.HashMap getAllDynamicAttributes()
public java.lang.String[] getAudioFileExtensions()
public java.lang.String[] getAudioFormatPreferences()
setAudioFormatPreferences(java.lang.String[])
public int getBitsPerPixel()
setBitsPerPixel(int)
public java.lang.String getContentType()
public java.lang.String getDescription()
public DeviceCategory getDeviceCategory()
public DeviceGroup[] getDeviceGroups()
public DeviceV2 getDeviceV2()
public java.lang.String getDynamicAttribute(java.lang.String name)
name
- The name of the attribute interested.public java.lang.String getEncoding()
setEncoding(java.lang.String)
public long getId()
getId
in interface ModelObject
public java.lang.String[] getImageFileExtensions()
public java.lang.String[] getImageFormatPreferences()
setImageFormatPreferences(java.lang.String[])
public java.lang.String getManufacturer()
setManufacturer(java.lang.String)
public int getMaxDocSize()
setMaxDocSize(int)
public boolean getMediaFeatureBoolean(java.lang.String feature)
feature
- the media featurepublic int getMediaFeatureInteger(java.lang.String feature)
feature
- the media featurepublic double getMediaFeatureLength(java.lang.String feature, java.lang.String unit)
feature
- the media featureunit
- the absolute unit for the lengthpublic java.util.HashSet getMediaFeatureSet(java.lang.String feature)
feature
- the media featurepublic java.lang.String getMediaFeatureString(java.lang.String feature)
feature
- the media featurepublic java.lang.String getMediaType()
public java.lang.String getMimeType()
setMimeType(java.lang.String)
public java.lang.String getModel()
setModel(java.lang.String)
public java.lang.String getName()
getName
in interface ModelObject
public java.lang.String getParsedErrorPage(org.w3c.dom.Element error) throws java.lang.Exception
error
- an xml error element of the formatjava.lang.Exception
public java.lang.String getProlog()
public int getScreenCols()
setScreenCols(int)
public int getScreenHeight()
setScreenHeight(int)
public int getScreenRows()
setScreenRows(int)
public int getScreenWidth()
setScreenWidth(int)
public int getSoftKeys()
setScreenCols(int)
public java.lang.String[] getSupportedLanguageVersions(MarkupLanguage markupLanguage)
markupLanguage
- the markup languagepublic java.lang.String[] getSupportedMobileXmlVersions()
getSupportedLanguageVersions(MarkupLanguage)
Returns an array of mobile xml versions supported by the devicepublic java.lang.String getTextErrorPage()
setTextErrorPage(java.lang.String)
public java.lang.String getTextLoginPage()
setTextLoginPage(java.lang.String)
public Transformer getTransformer()
getTransformer(String)
public Transformer getTransformer(java.lang.String mobileXmlVersion)
getTransformer(String, MarkupLanguage)
Returns transformer for a mobile xml versionmobileXmlVersion
- the version of Mobile xmlpublic Transformer getTransformer(java.lang.String languageVersion, MarkupLanguage markupLanguage)
languageVersion
- the markup language versionmarkupLanguage
- the markup languagepublic java.lang.String[] getUserAgents()
public java.lang.String[] getVideoFileExtensions()
public java.lang.String[] getVideoFormatPreferences()
setVideoFormatPreferences(java.lang.String[])
public VideoMode getVideoMode()
public org.w3c.dom.Element getXMLErrorPage()
setXMLErrorPage(org.w3c.dom.Element)
public org.w3c.dom.Element getXMLLoginPage()
setXMLLoginPage(org.w3c.dom.Element)
public boolean isColorCapable()
setColorCapable(boolean)
public boolean isImageCapable()
setImageCapable(boolean)
public boolean isNeedsURLCaching()
setNeedsURLCaching(boolean)
public boolean isSupportsAmpersandEntity()
setSupportsAmpersandEntity(boolean)
public boolean isSupportsCookie()
public boolean isSupportsRelativeURL()
setSupportsRelativeURL(boolean)
public boolean isVideoCapable()
setVideoCapable(boolean)
public boolean isVoiceCapable()
setVoiceCapable(boolean)
public void modifyUserAgent(java.lang.String oldUserAgent, java.lang.String newUserAgent)
oldUserAgent
- the previous user agent stringnewUserAgent
- the new user agent stringpublic void removeDeviceGroup(DeviceGroup group)
group
- The device group for the device to not be associated with.java.lang.IllegalArgumentException
- in case of group parameter is null.public void removeDynamicAttribute(java.lang.String name)
name
- The name of the attribute to be removedpublic void removeTransformer(java.lang.String mobileXmlVersion)
removeTransformer(String, MarkupLanguage)
Removes the transformer for a mobile xml versionmobileXmlVersion
- the mobile xml versionpublic void removeTransformer(java.lang.String languageVersion, MarkupLanguage markupLanguage)
languageVersion
- the markup language versionmarkupLanguage
- the markup languagepublic void removeUserAgent(java.lang.String userAgent)
userAgent
- teh user agent stringpublic void setAudioFormatPreferences(java.lang.String[] audioPrefs)
audioPrefs
- array of video mime typesgetAudioFormatPreferences()
public void setBitsPerPixel(int bitsPerPixel)
bitsPerPixel
- the new bits per pixel for this devicegetBitsPerPixel()
public void setColorCapable(boolean colorCapable)
colorCapable
- the new property valueisColorCapable()
public void setDescription(java.lang.String description)
description
- the description text.public void setDeviceCategory(DeviceCategory deviceCategory)
deviceCategory
- the new property valuegetDeviceCategory()
public void setEncoding(java.lang.String encoding)
encoding
- The new encoding for this DevicegetEncoding()
public void setImageCapable(boolean imageCapable)
imageCapable
- the new value for the propertyisImageCapable()
public void setImageFormatPreferences(java.lang.String[] imagePrefs)
imagePrefs
- array of image mime typesgetImageFormatPreferences()
public void setManufacturer(java.lang.String manufacturer)
manufacturer
- the device manufacturergetManufacturer()
public void setMaxDocSize(int maxDocSize)
maxDocSize
- maximum size of the Mobile XML documentgetMaxDocSize()
public void setMediaFeatureBoolean(java.lang.String feature, boolean value)
feature
- the media feature to be setvalue
- the value of the media featurepublic void setMediaFeatureInteger(java.lang.String feature, int value)
feature
- the media feature to be setvalue
- the value of the media featurepublic void setMediaFeatureLength(java.lang.String feature, java.lang.String unit, double value)
feature
- the media feature to be setunit
- the absolute unit for the lengthvalue
- the value of the media featurepublic void setMediaFeatureSet(java.lang.String feature, java.util.HashSet value)
feature
- the media feature to be setvalue
- the value of the media featurepublic void setMediaFeatureString(java.lang.String feature, java.lang.String value)
feature
- the media feature to be setvalue
- the value of the media featurepublic void setMediaType(java.lang.String mediaType)
mediaType
- the new property valuegetMediaType()
public void setMimeType(java.lang.String mimeType)
mimeType
- The new value for the property.getMimeType()
public void setModel(java.lang.String model)
model
- the device modelgetModel()
public void setName(java.lang.String name)
setName
in interface ModelObject
name
- The name of the device.public void setNeedsURLCaching(boolean needsURLCaching)
needsURLCaching
- The new value for the property.isNeedsURLCaching()
public void setProlog(java.lang.String prolog)
prolog
- The new value for the property.getProlog()
public void setScreenCols(int cols)
cols
- The new number of characters per row for this DevicegetScreenCols()
public void setScreenHeight(int height)
height
- The new screen height for this DevicegetScreenHeight()
public void setScreenRows(int rows)
rows
- The new number of rows for this DevicegetScreenRows()
public void setScreenWidth(int width)
width
- The new screen width for this DevicegetScreenWidth()
public void setSoftKeys(int softKeys)
softKeys
- The new number of "soft" keys for this DevicesetSoftKeys(int)
public void setSupportsAmpersandEntity(boolean supportsAmpersandEntity)
supportsAmpersandEntity
- the new propeerty valueisSupportsAmpersandEntity()
public void setSupportsCookie(boolean supportsCookie)
supportsCookie
- the new property value #see #isSupportsCookiepublic void setSupportsRelativeURL(boolean supportsRelativeURL)
supportsRelativeURL
- the new property valueisSupportsRelativeURL()
public void setTextErrorPage(java.lang.String errorPage)
errorPage
- The new value for the property.getTextErrorPage()
public void setTextLoginPage(java.lang.String loginPage)
loginPage
- The new value for the property.getTextLoginPage()
public void setTransformer(Transformer transformer)
transformer
- the transformerpublic void setUserAgents(java.lang.String[] userAgents)
userAgents
- array of user agent stringspublic void setVideoCapable(boolean videoCapable)
videoCapable
- the new property valueisVideoCapable()
public void setVideoFormatPreferences(java.lang.String[] videoPrefs)
videoPrefs
- array of video mime typesgetVideoFormatPreferences()
public void setVideoMode(VideoMode videoMode)
videoMode
- the new property valuepublic void setVoiceCapable(boolean voiceCapable)
voiceCapable
- the new property valueisVoiceCapable()
public void setXMLErrorPage(org.w3c.dom.Element errorPage)
errorPage
- The new value for the property.getXMLErrorPage()
public void setXMLLoginPage(org.w3c.dom.Element loginPage)
loginPage
- The new value for the property.getXMLLoginPage()
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |