|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.agent.TrinidadAgentImpl
public class TrinidadAgentImpl
implementation that supports the AdfFacesAgent
Field Summary |
---|
Fields inherited from interface org.apache.myfaces.trinidad.context.Agent |
---|
AGENT_BLACKBERRY, AGENT_GECKO, AGENT_IE, AGENT_WEBKIT, PLATFORM_BLACKBERRY, PLATFORM_LINUX, PLATFORM_MAC, PLATFORM_MACOS, PLATFORM_PALM, PLATFORM_PPC, PLATFORM_SOLARIS, PLATFORM_WINDOWS, TYPE_TELNET, TYPE_UNKNOWN |
Constructor Summary | |
---|---|
TrinidadAgentImpl(org.apache.myfaces.trinidad.context.Agent agent)
|
|
TrinidadAgentImpl(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.Agent agent)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getAgentApplication()
Returns the specific application to which we're rendering. |
int |
getAgentMajorVersion()
Returns the major version number of the application, or 0 if a version number couldn't be identified. |
java.lang.String |
getAgentName()
|
int |
getAgentOS()
Returns the client operating system. |
int |
getAgentType()
Returns the type of agent to which we're rendering. |
java.lang.String |
getAgentVersion()
Returns the full, unparsed version string. |
java.util.Map<java.lang.Object,java.lang.Object> |
getCapabilities()
|
java.lang.Object |
getCapability(CapabilityKey key)
Returns a capability of a TrinidadAgent |
java.lang.String |
getHardwareMakeModel()
|
java.lang.String |
getPlatformName()
|
java.lang.String |
getPlatformVersion()
|
java.lang.Object |
getType()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TrinidadAgentImpl(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.Agent agent)
public TrinidadAgentImpl(org.apache.myfaces.trinidad.context.Agent agent)
Method Detail |
---|
public java.lang.Object getType()
getType
in interface org.apache.myfaces.trinidad.context.Agent
public int getAgentType()
getAgentType
in interface TrinidadAgent
public java.lang.String getAgentName()
getAgentName
in interface org.apache.myfaces.trinidad.context.Agent
null
if not available.
public int getAgentApplication()
getAgentApplication
in interface TrinidadAgent
public java.lang.String getAgentVersion()
TrinidadAgent
getAgentVersion
in interface org.apache.myfaces.trinidad.context.Agent
getAgentVersion
in interface TrinidadAgent
null
if not available.public int getAgentMajorVersion()
getAgentMajorVersion
in interface TrinidadAgent
public java.lang.String getPlatformName()
getPlatformName
in interface org.apache.myfaces.trinidad.context.Agent
null
if not available.
public java.lang.String getPlatformVersion()
getPlatformVersion
in interface org.apache.myfaces.trinidad.context.Agent
null
if not available.public java.util.Map<java.lang.Object,java.lang.Object> getCapabilities()
getCapabilities
in interface org.apache.myfaces.trinidad.context.Agent
public int getAgentOS()
getAgentOS
in interface TrinidadAgent
public java.lang.String getHardwareMakeModel()
getHardwareMakeModel
in interface org.apache.myfaces.trinidad.context.Agent
null
if not available.
public java.lang.Object getCapability(CapabilityKey key)
TrinidadAgent
getCapability
in interface TrinidadAgent
key
-
public java.lang.Object clone()
clone
in interface TrinidadAgent
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |