org.apache.jetspeed.portlet
Class Capability

java.lang.Object
  extended by org.apache.jetspeed.portlet.Capability

Deprecated. since 6.0. Support of the IBM portlet API may be removed in a future release of WebSphere Portal. Use of the Java Portlet API (javax.portlet) is recommended instead.

public class Capability
extends java.lang.Object

Instances of the Capability class correspond to particular properties which can be assigned to the client devices.

The class has only a private constructor, so that it is not possible to dynamically create objects of this class from outside the class. A set of predefined instances (ie. capabilities) is provided.

Since:
4.1
See Also:
Client

Field Summary
static Capability FRAGMENT
          Deprecated. The predifined capability instance of a fragment identifier support
static Capability HTML_2_0
          Deprecated. The predifined capability instance of html version 2.0 support
static Capability HTML_3_0
          Deprecated. The predifined capability instance of html version 3.0 support
static Capability HTML_3_2
          Deprecated. The predifined capability instance of html version 3.2 support
static Capability HTML_4_0
          Deprecated. The predifined capability instance of html version 4.0 support
static Capability HTML_CSS
          Deprecated. The predifined capability instance of html css support
static Capability HTML_FRAME
          Deprecated. The predifined capability instance of html frames support
static Capability HTML_IFRAME
          Deprecated. The predifined capability instance of html i-frames support
static Capability HTML_JAVA
          Deprecated. The predifined capability instance of html java support
static Capability HTML_JAVASCRIPT
          Deprecated. The predifined capability instance of html java script support
static Capability HTML_NESTED_TABLE
          Deprecated. The predifined capability instance of html nested table support
static Capability HTML_SEARCH
          Deprecated. The predefined capability instance of search engine support
static Capability HTML_TABLE
          Deprecated. The predifined capability instance of html table support
static Capability WML_1_1
          Deprecated. The predifined capability instance of wml version 1.1 support
static Capability WML_1_2
          Deprecated. The predifined capability instance of wml version 1.2 support
static Capability WML_TABLE
          Deprecated. The predifined capability instance of wml table support
 
Method Summary
 boolean equals(java.lang.Object object)
          Deprecated. Returns whether this and the given object represent the same capability.
static Capability forIdentifier(java.lang.String key)
          Deprecated. Returns a capability for a given key (as returned by the {link #getKey} method).
 java.lang.String getIdentifier()
          Deprecated. Returns the identifier of this capability.
 java.lang.String getKey()
          Deprecated. Returns the internal key value of this capability.
protected  int getValue()
          Deprecated. Returns the integer value of this capability.
 int hashCode()
          Deprecated. Returns a hash code for this capability.
 java.lang.String toString()
          Deprecated. Returns the capability as a displayable string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FRAGMENT

public static final Capability FRAGMENT
Deprecated. 
The predifined capability instance of a fragment identifier support


HTML_2_0

public static final Capability HTML_2_0
Deprecated. 
The predifined capability instance of html version 2.0 support


HTML_3_0

public static final Capability HTML_3_0
Deprecated. 
The predifined capability instance of html version 3.0 support


HTML_3_2

public static final Capability HTML_3_2
Deprecated. 
The predifined capability instance of html version 3.2 support


HTML_4_0

public static final Capability HTML_4_0
Deprecated. 
The predifined capability instance of html version 4.0 support


HTML_JAVA

public static final Capability HTML_JAVA
Deprecated. 
The predifined capability instance of html java support


HTML_JAVASCRIPT

public static final Capability HTML_JAVASCRIPT
Deprecated. 
The predifined capability instance of html java script support


HTML_TABLE

public static final Capability HTML_TABLE
Deprecated. 
The predifined capability instance of html table support


HTML_NESTED_TABLE

public static final Capability HTML_NESTED_TABLE
Deprecated. 
The predifined capability instance of html nested table support


HTML_FRAME

public static final Capability HTML_FRAME
Deprecated. 
The predifined capability instance of html frames support


HTML_IFRAME

public static final Capability HTML_IFRAME
Deprecated. 
The predifined capability instance of html i-frames support


HTML_CSS

public static final Capability HTML_CSS
Deprecated. 
The predifined capability instance of html css support


HTML_SEARCH

public static final Capability HTML_SEARCH
Deprecated. 
The predefined capability instance of search engine support


WML_1_1

public static final Capability WML_1_1
Deprecated. 
The predifined capability instance of wml version 1.1 support


WML_1_2

public static final Capability WML_1_2
Deprecated. 
The predifined capability instance of wml version 1.2 support


WML_TABLE

public static final Capability WML_TABLE
Deprecated. 
The predifined capability instance of wml table support

Method Detail

hashCode

public int hashCode()
Deprecated. 
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 object)
Deprecated. 
Returns whether this and the given object represent the same capability.

Overrides:
equals in class java.lang.Object
Parameters:
object - the object to compare with
Returns:
true if the objects represent the same capability,
false otherwise

toString

public java.lang.String toString()
Deprecated. 
Returns the capability as a displayable string.

Overrides:
toString in class java.lang.Object
Returns:
the displayable string

getIdentifier

public java.lang.String getIdentifier()
Deprecated. 
Returns the identifier of this capability.

Returns:
the capability

getKey

public java.lang.String getKey()
Deprecated. 
Returns the internal key value of this capability.

Returns:
the key value

forIdentifier

public static Capability forIdentifier(java.lang.String key)
Deprecated. 
Returns a capability for a given key (as returned by the {link #getKey} method). Returns null if the given key is not a valid capability key.

Returns:
the capability

getValue

protected int getValue()
Deprecated. 
Returns the integer value of this capability.

Returns:
the integer value