|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary |
Fields inherited from interface oracle.panama.model.ModelObject |
TYPEID |
Method Summary | |
DeliveryContextAttribute |
addDeliveryContextAttribute(java.lang.String name, boolean value) Add the delivery context attribute with the given name. |
DeliveryContextAttribute |
addDeliveryContextAttribute(java.lang.String name, java.lang.String value) Add the delivery context attribute with the given name. |
DeliveryContextAttribute |
addDeliveryContextAttribute(java.lang.String name, java.lang.String[] vals) Add the delivery context attribute with the given name. |
void |
addTransformer(Transformer transformer) Add a transformer |
DeliveryContextAttribute[] |
getAttributes() Get all the delivery context attribute for the physical device. |
int |
getBitsPerPixel() Gets the number of bits per pixel for this device |
PhysicalDeviceDeliveryContext |
getDeliveryContext(DeliveryContextType type) Gets the delivery context with the given delivery context type for the physical device |
DeliveryContextAttribute |
getDeliveryContextAttribute(java.lang.String name) Get the delivery context attribute with the given name. |
java.lang.String |
getDescription() Returns the description for the device. |
long |
getHeapSize() Get the heap size in kilobytes. |
java.lang.String |
getManufacturer() Get the manufacturer of the physical device. |
long |
getMaxDownloadSize() Get the maximum download size. |
java.lang.String |
getMimeType() Returns the mime type that specifies the markup language the device supports. |
java.lang.String |
getModel() Get the model of the physical device. |
java.lang.String |
getName() Gets the name of the physical device |
java.lang.String |
getProfile() Get the profile string. |
java.lang.String |
getProlog() Return the prolog for the device. |
java.lang.String |
getProvisionProtocol() Get the provisioning protocol. |
int |
getScreenCols() Gets the number of characters per row for this Device. |
int |
getScreenHeight() Gets the screen height in pixels for this Device. |
int |
getScreenRows() Gets the number of character rows for this Device. |
int |
getScreenWidth() Gets the screen width in points for this Device. |
int |
getSoftKeys() Gets the number of "soft" keys for this Device. |
Transformer[] |
getTransformers() Get the transformers |
VideoMode |
getVideoMode() Gets the video mode property value |
java.lang.String |
getVM() Retrieves the VM information. |
boolean |
isColorCapable() Is the device color capable? |
boolean |
isImageCapable() Is the device image capable? |
boolean |
isJavaCapable() Returns whether the physical device is java-capable. |
boolean |
isVideoCapable() Is the device Video Capable? |
boolean |
isVoiceCapable() Is the device voice capable? |
void |
removeDeliveryContextAttribute(java.lang.String name) Remove an attribute from a physical device. |
void |
removeTransformer(Transformer transformer) Remove a transformer |
void |
setBitsPerPixel(int bitsPerPixel) Sets the number of bits per pixel for this device |
void |
setColorCapable(boolean colorCapable) Sets the colorCapable property value |
void |
setDescription(java.lang.String description) Set the description for the device. |
void |
setHeapSize(long size) Set the heap size in kilobytes. |
void |
setImageCapable(boolean imageCapable) Sets the imageCapable propery value |
void |
setJavaCapable(boolean javaCapable) Set whether the physical device is java-capable. |
void |
setManufacturer(java.lang.String manufacturer) Set the manufacturer for the physical device. |
void |
setMaxDownloadSize(long maxDownloadSize) Set the maximum download size. |
void |
setMediaType(java.lang.String mediaType) Sets the media type property value |
void |
setMimeType(java.lang.String mimeType) Set the mime type that specifies the markup language the device supports. |
void |
setModel(java.lang.String model) Set the model for the physical device. |
void |
setName(java.lang.String name) Sets the name of the physical device. |
void |
setProfile(java.lang.String profile) Sets the profile string. |
void |
setProlog(java.lang.String prolog) Set the prolog for the device. |
void |
setProvisionProtocol(java.lang.String protocol) Set the provisioning protocol. |
void |
setScreenCols(int cols) Sets the number of characters per row for this Device. |
void |
setScreenHeight(int height) Sets the screen height in pixels for this Device. |
void |
setScreenRows(int rows) Sets the number of character rows for this Device. |
void |
setScreenWidth(int width) Sets the screen width in points for this Device. |
void |
setSoftKeys(int softKeys) Sets the number of "soft" keys for this Device. |
void |
setUserAgents(java.lang.String[] userAgents) Sets User Agent Strings which will be used to detect the device |
void |
setVideoCapable(boolean videoCapable) Sets the videoCapable property value |
void |
setVideoMode(VideoMode videoMode) Sets the video mode property value |
void |
setVM(java.lang.String vm) Sets the VM Information. |
void |
setVoiceCapable(boolean voiceCapable) Sets the voiceCapable property value |
void |
setXMLErrorPage(org.w3c.dom.Element errorPage) Sets the errorPage property value. |
void |
setXMLLoginPage(org.w3c.dom.Element loginPage) Sets the loginPage property value. |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getTypeId, getTypeName, isSystem, setSystem, undoAll |
Methods inherited from interface oracle.panama.model.XMLObject |
setXML, toXML |
Methods inherited from interface oracle.panama.core.device.DeviceV2Peer |
delete, findTransformer, getDefaultTransformer, getDeviceV2, getErrorPage, getId, getLoginPage, getMediaType, getSupportedLanguageVersions, getTransformer, getUserAgents, getXMLErrorPage, getXMLLoginPage |
Method Detail |
public java.lang.String getName()
getName
in interface ModelObject
public void setName(java.lang.String name)
setName
in interface ModelObject
name
- The name of the physical devicepublic java.lang.String getManufacturer()
public void setManufacturer(java.lang.String manufacturer)
manufacturer
- manufacturer of the physical devicepublic java.lang.String getModel()
public void setModel(java.lang.String model)
model
- of the physical device.public java.lang.String getVM()
public void setVM(java.lang.String vm)
vm
- vm information string, such as CLDCpublic java.lang.String getProfile()
public void setProfile(java.lang.String profile)
profile
- profilepublic long getHeapSize()
public void setHeapSize(long size)
size
- heap size in kilobytespublic long getMaxDownloadSize()
public void setMaxDownloadSize(long maxDownloadSize)
maxDownloadSize
- maximum download size in kilobytes.public java.lang.String getProvisionProtocol()
public void setProvisionProtocol(java.lang.String protocol)
protocol
- provision protocol.public int getScreenHeight()
setScreenHeight(int)
public void setScreenHeight(int height)
height
- The new screen height for this DevicegetScreenHeight()
public int getScreenWidth()
setScreenWidth(int)
public void setScreenWidth(int width)
width
- The new screen width for this DevicegetScreenWidth()
public int getScreenRows()
setScreenRows(int)
public void setScreenRows(int rows)
rows
- The new number of rows for this DevicegetScreenRows()
public int getScreenCols()
setScreenCols(int)
public void setScreenCols(int cols)
cols
- The new number of characters per row for this DevicegetScreenCols()
public int getSoftKeys()
setScreenCols(int)
public void setSoftKeys(int softKeys)
softKeys
- The new number of "soft" keys for this DevicesetSoftKeys(int)
public boolean isImageCapable()
setImageCapable(boolean)
public void setImageCapable(boolean imageCapable)
imageCapable
- the new value for the propertyisImageCapable()
public boolean isVideoCapable()
setVideoCapable(boolean)
public void setVideoCapable(boolean videoCapable)
videoCapable
- the new property valueisVideoCapable()
public VideoMode getVideoMode()
public void setVideoMode(VideoMode videoMode)
videoMode
- the new property valuepublic boolean isColorCapable()
setColorCapable(boolean)
public void setColorCapable(boolean colorCapable)
colorCapable
- the new property valueisColorCapable()
public boolean isVoiceCapable()
setVoiceCapable(boolean)
public void setVoiceCapable(boolean voiceCapable)
voiceCapable
- the new property valueisVoiceCapable()
public boolean isJavaCapable()
public void setJavaCapable(boolean javaCapable)
javaCapable
- if device capable of running java applicationpublic int getBitsPerPixel()
setBitsPerPixel(int)
public void setBitsPerPixel(int bitsPerPixel)
bitsPerPixel
- the new bits per pixel for this devicegetBitsPerPixel()
public PhysicalDeviceDeliveryContext getDeliveryContext(DeliveryContextType type)
public DeliveryContextAttribute getDeliveryContextAttribute(java.lang.String name)
getDeliveryContextAttribute
in interface AttributeQueriable
name
- The name of the attribute, You should only use the constants defined inside DeliveryContextAttributeNames interface.public DeliveryContextAttribute[] getAttributes()
public DeliveryContextAttribute addDeliveryContextAttribute(java.lang.String name, java.lang.String[] vals)
addDeliveryContextAttribute
in interface oracle.panama.core.device.DeviceV2Peer
name
- The name for the attribute.vals
- The LOV for the attribute.public DeliveryContextAttribute addDeliveryContextAttribute(java.lang.String name, java.lang.String value)
name
- The name for the attribute.value
- The value for the attribute.public DeliveryContextAttribute addDeliveryContextAttribute(java.lang.String name, boolean value)
name
- The name for the attribute.value
- The value for the attribute.public void removeDeliveryContextAttribute(java.lang.String name)
name
- the name of the attribute to be removed. It's an no-op if the attribute can not be found.public java.lang.String getDescription()
getDescription
in interface oracle.panama.core.device.DeviceV2Peer
public void setDescription(java.lang.String description)
description
- The description for the device.public void setXMLErrorPage(org.w3c.dom.Element errorPage)
errorPage
- The new value for the property.DeviceV2Peer.getXMLErrorPage()
public void setXMLLoginPage(org.w3c.dom.Element loginPage)
loginPage
- The new value for the property.DeviceV2Peer.getXMLLoginPage()
public void setUserAgents(java.lang.String[] userAgents)
userAgents
- array of user agent stringspublic void setMediaType(java.lang.String mediaType)
mediaType
- the new property valueDeviceV2Peer.getMediaType()
public void setMimeType(java.lang.String mimeType)
public java.lang.String getMimeType()
public void addTransformer(Transformer transformer)
transformer
- the transformer to addpublic Transformer[] getTransformers()
public void removeTransformer(Transformer transformer)
transformer
- the transformer to removepublic java.lang.String getProlog()
public void setProlog(java.lang.String prolog)
prolog
- The prolog for the device.
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |