| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface provides lookup features on the capabilities supported by a client user agent.
| Field Summary | |
static int | 
HTML_ACTIVEX
Handle activex controls  | 
static int | 
HTML_CSS1
Handle CSS1  | 
static int | 
HTML_CSS2
Handle CSS2  | 
static int | 
HTML_CSSP
Handle CSSP  | 
static int | 
HTML_DOM
Handle DOM  | 
static int | 
HTML_FORM
Handle form handling  | 
static int | 
HTML_FRAME
Handle frames  | 
static int | 
HTML_IMAGE
Handle inline image display  | 
static int | 
HTML_JAVA
Handle client-side applet  | 
static int | 
HTML_JAVA1_0
 | 
static int | 
HTML_JAVA1_1
 | 
static int | 
HTML_JAVA1_2
 | 
static int | 
HTML_JSCRIPT
Handle client-side javascript  | 
static int | 
HTML_JSCRIPT1_0
 | 
static int | 
HTML_JSCRIPT1_1
 | 
static int | 
HTML_JSCRIPT1_2
 | 
static int | 
HTML_TABLE
Handle HTML Table  | 
static int | 
HTML_XML
Handle XML  | 
static int | 
HTML_XSL
Handle XSL  | 
| Method Summary | |
 java.lang.String | 
getAgent()
Returns the user-agent string  | 
 MimeType[] | 
getMimeTypes()
Get the mime types that this CapabilityMap supports.  | 
 java.lang.String | 
getPreferredMediaType()
Returns the preferred media type for the current user-agent  | 
 MimeType | 
getPreferredType()
Returns the preferred MIME type for the current user-agent  | 
 boolean | 
hasCapability(int cap)
Checks to see if the current agent has the specified capability  | 
 boolean | 
hasCapability(java.lang.String capability)
Checks to see if the current agent has the specified capability  | 
 java.util.Iterator | 
listMediaTypes()
Returns an ordered list of supported media-types, from most preferred to least preferred  | 
 boolean | 
supportsMediaType(java.lang.String media)
Return true if this CapabilityMap supports the given media type  | 
 boolean | 
supportsMimeType(MimeType mimeType)
Return true if this CapabilityMap supports the given MimeType  | 
 java.lang.String | 
toString()
Create a map -> string representation  | 
| Field Detail | 
public static final int HTML_TABLE
public static final int HTML_IMAGE
public static final int HTML_FORM
public static final int HTML_FRAME
public static final int HTML_JAVA
public static final int HTML_JAVA1_0
public static final int HTML_JAVA1_1
public static final int HTML_JAVA1_2
public static final int HTML_JSCRIPT
public static final int HTML_JSCRIPT1_0
public static final int HTML_JSCRIPT1_1
public static final int HTML_JSCRIPT1_2
public static final int HTML_ACTIVEX
public static final int HTML_CSS1
public static final int HTML_CSS2
public static final int HTML_CSSP
public static final int HTML_XML
public static final int HTML_XSL
public static final int HTML_DOM
| Method Detail | 
public MimeType getPreferredType()
public java.lang.String getPreferredMediaType()
public java.util.Iterator listMediaTypes()
public java.lang.String getAgent()
public boolean hasCapability(int cap)
public boolean hasCapability(java.lang.String capability)
public MimeType[] getMimeTypes()
public boolean supportsMimeType(MimeType mimeType)
public boolean supportsMediaType(java.lang.String media)
media - the name of a media type registered in the
 MediaType regsitry
public java.lang.String toString()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||