com.free2be.dimensions.device.profile
Class SoftwareProfile
java.lang.Object
com.free2be.dimensions.device.simple.SimpleDeviceComponent
com.free2be.dimensions.device.simple.SimpleSoftware
com.free2be.dimensions.device.profile.SoftwareProfile
- All Implemented Interfaces:
- DeviceComponent, Software, java.io.Serializable
public class SoftwareProfile
- extends SimpleSoftware
- implements Software
- See Also:
- Serialized Form
Constructor Summary |
SoftwareProfile(org.dom4j.Node softwareNode,
org.dom4j.Node browserNode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoftwareProfile
public SoftwareProfile(org.dom4j.Node softwareNode,
org.dom4j.Node browserNode)
- Parameters:
node
- containing standard UAProf where component description id = SoftwarePlatform
getAsXml
public java.lang.String getAsXml()
- Description copied from interface:
DeviceComponent
- Ideally this will always return the CC/PP representation of this device, but until then:
-
If derived from a valid CC/PP (like UAProf) document then that document will be returned as formatted string.
-
If not derived from a valid document, this will return simple xml from a bean crawler until a bean/xml mapper
is used to display the device as valid CC/PP document.
- Specified by:
getAsXml
in interface DeviceComponent
- Overrides:
getAsXml
in class SimpleDeviceComponent
getBrowser
public Browser getBrowser()
- Specified by:
getBrowser
in interface Software
- Overrides:
getBrowser
in class SimpleSoftware
getJava
public Java getJava()
- Specified by:
getJava
in interface Software
- Overrides:
getJava
in class SimpleSoftware
getWapBrowser
public WapBrowser getWapBrowser()
- Specified by:
getWapBrowser
in interface Software
- Overrides:
getWapBrowser
in class SimpleSoftware
getImage
public DeviceImage getImage()
- Specified by:
getImage
in interface Software
- Overrides:
getImage
in class SimpleSoftware
getAudio
public Audio getAudio()
- Specified by:
getAudio
in interface Software
- Overrides:
getAudio
in class SimpleSoftware
isWmlCapable
public boolean isWmlCapable()
isHtmlCapable
public boolean isHtmlCapable()
getPreferredContentType
public java.lang.String getPreferredContentType()
- This method needs some major rethinking and reworking once put to use.
- Specified by:
getPreferredContentType
in interface Software
- Overrides:
getPreferredContentType
in class SimpleSoftware