Oracle Fusion Middleware
Java API Reference for Oracle PDK Java
11g Release 1 (11.1.1)
E10691-01

oracle.portal.provider.v2.render
Class DeviceInfo

java.lang.Object
  extended by oracle.portal.provider.v2.render.DeviceInfo

public class DeviceInfo
extends java.lang.Object


Nested Class Summary
static class DeviceInfo.DeviceClass
           
static class DeviceInfo.DeviceOrientation
          To level nested class representing the enumerated types used to represent data members of deviceInfos.
 
Constructor Summary
DeviceInfo(DeviceInfo.DeviceClass deviceClass, DeviceInfo.DeviceOrientation orientation, long maxDocSize, boolean secure)
           
 
Method Summary
 DeviceInfo.DeviceClass getDeviceClass()
           
 long getMaxDocSize()
           
 DeviceInfo.DeviceOrientation getOrientation()
           
 boolean isClientConnectionSecure()
           
 void setClientConnectionSecure(boolean secure)
           
 void setDeviceClass(DeviceInfo.DeviceClass deviceClass)
           
 void setMaxDocSize(long maxDocSize)
           
 void setOrientation(DeviceInfo.DeviceOrientation orientation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceInfo

public DeviceInfo(DeviceInfo.DeviceClass deviceClass,
                  DeviceInfo.DeviceOrientation orientation,
                  long maxDocSize,
                  boolean secure)
Method Detail

getDeviceClass

public DeviceInfo.DeviceClass getDeviceClass()
Returns:
the classification of the device.

setDeviceClass

public void setDeviceClass(DeviceInfo.DeviceClass deviceClass)
Parameters:
deviceClass - the classification of the device.

getOrientation

public DeviceInfo.DeviceOrientation getOrientation()
Returns:
the orientation of the device.

setOrientation

public void setOrientation(DeviceInfo.DeviceOrientation orientation)
Parameters:
orientation - the orientation of the device.

getMaxDocSize

public long getMaxDocSize()
Returns:
the estimated maximum size in bytes the device supports.

setMaxDocSize

public void setMaxDocSize(long maxDocSize)
Parameters:
maxDocSize - sets the estimated maximum size in bytes the device supports.

isClientConnectionSecure

public boolean isClientConnectionSecure()
Returns:
whether the connection from the client device to the (gateway) is secure.

setClientConnectionSecure

public void setClientConnectionSecure(boolean secure)
Parameters:
secure - sets whether the connection from the client device to the (gateway) is secure.

Oracle Fusion Middleware
Java API Reference for Oracle PDK Java
11g Release 1 (11.1.1)
E10691-01

Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.