org.apache.jetspeed.portal
Class Capability
java.lang.Object
|
+--org.apache.jetspeed.portal.Capability
- public class Capability
- extends java.lang.Object
Instances of the Capability class correspond to particular
properties which can be assigned to the client client devices.
- See Also:
Client
Method Summary |
boolean |
equals(java.lang.Object aObject)
Returns whether this and the given object represent the same
capability. |
java.lang.String |
getIdentifier()
Returns the identifier of this capability. |
protected int |
getValue()
Returns the integer value of this capability. |
int |
hashCode()
Returns a hash code for this capability. |
java.lang.String |
toString()
Returns the capability as a displayable string. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
HTML_JAVA
public static final Capability HTML_JAVA
HTML_JAVA_1_0
public static final Capability HTML_JAVA_1_0
HTML_JAVA_1_1
public static final Capability HTML_JAVA_1_1
HTML_JAVA_1_2
public static final Capability HTML_JAVA_1_2
HTML_JAVASCRIPT
public static final Capability HTML_JAVASCRIPT
HTML_JAVASCRIPT_1_0
public static final Capability HTML_JAVASCRIPT_1_0
HTML_JAVASCRIPT_1_1
public static final Capability HTML_JAVASCRIPT_1_1
HTML_JAVASCRIPT_1_2
public static final Capability HTML_JAVASCRIPT_1_2
HTML_TABLE
public static final Capability HTML_TABLE
HTML_NESTED_TABLE
public static final Capability HTML_NESTED_TABLE
HTML_FORM
public static final Capability HTML_FORM
HTML_FRAME
public static final Capability HTML_FRAME
HTML_IMAGE
public static final Capability HTML_IMAGE
HTML_ACTIVE_X
public static final Capability HTML_ACTIVE_X
HTML_CSS1
public static final Capability HTML_CSS1
HTML_CSS2
public static final Capability HTML_CSS2
HTML_CSSP
public static final Capability HTML_CSSP
WML_TABLE
public static final Capability WML_TABLE
HTTP_COOKIE
public static final Capability HTTP_COOKIE
hashCode
public int hashCode()
- Returns a hash code for this capability.
- Overrides:
- hashCode in class java.lang.Object
- Returns:
- the hash code
equals
public boolean equals(java.lang.Object aObject)
- Returns whether this and the given object represent the same
capability.
- Overrides:
- equals in class java.lang.Object
- Parameters:
aObject
- the object to compare with- Returns:
- true if the objects represent the same capability
flase otherwise
toString
public java.lang.String toString()
- Returns the capability as a displayable string.
- Overrides:
- toString in class java.lang.Object
- Returns:
- the displayable string
getIdentifier
public java.lang.String getIdentifier()
- Returns the identifier of this capability.
- Returns:
- the capability
getValue
protected int getValue()
- Returns the integer value of this capability.
- Returns:
- the integer value