Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

Java™ 2 Platform, Micro Edition Content Handler API (Final Release, June 3, 2005)
A C E F G H I J N O R S T U W

A

ACTION_EDIT - Static variable in interface javax.microedition.content.ContentHandler
Action to edit the content.
ACTION_EXECUTE - Static variable in interface javax.microedition.content.ContentHandler
Action to execute the content.
ACTION_INSTALL - Static variable in interface javax.microedition.content.ContentHandler
Action to install the content on the device.
ACTION_NEW - Static variable in interface javax.microedition.content.ContentHandler
Action to create new content.
ACTION_OPEN - Static variable in interface javax.microedition.content.ContentHandler
Action to open content.
ACTION_PRINT - Static variable in interface javax.microedition.content.ContentHandler
Action to print the content.
ACTION_SAVE - Static variable in interface javax.microedition.content.ContentHandler
Action to save the content.
ACTION_SELECT - Static variable in interface javax.microedition.content.ContentHandler
Action to select a value from the content, usually with user input, and return its value.
ACTION_SEND - Static variable in interface javax.microedition.content.ContentHandler
Action to send the content via email or messaging.
ACTION_STOP - Static variable in interface javax.microedition.content.ContentHandler
Action to request a content handler to stop processing the content identified by the URL, ID, and arguments.
ACTIVE - Static variable in class javax.microedition.content.Invocation
This Invocation is a new request and is being handled by the content handler.
AMBIGUOUS - Static variable in class javax.microedition.content.ContentHandlerException
The reason is AMBIGUOUS in a ContentHandlerException when an ID does not uniquely identify a single content handler application.
ActionNameMap - class javax.microedition.content.ActionNameMap.
An ActionNameMap provides a mapping between actions and corresponding action names.
ActionNameMap(String[], String[], String) - Constructor for class javax.microedition.content.ActionNameMap
Create a new map of actions to action names for a locale.
accessAllowedCount() - Method in interface javax.microedition.content.ContentHandlerServer
Gets the number of IDs allowed access by the content handler.

C

CANCELLED - Static variable in class javax.microedition.content.Invocation
The processing of the Invocation was cancelled by the ContentHandler.
ContentHandler - interface javax.microedition.content.ContentHandler.
A ContentHandler provides the details of a content handler registration.
ContentHandlerException - exception javax.microedition.content.ContentHandlerException.
A ContentHandlerException is thrown to report errors specific to registration and invocation of content handlers.
ContentHandlerException(String, int) - Constructor for class javax.microedition.content.ContentHandlerException
Constructs a ContentHandlerException with a reason and error code.
ContentHandlerServer - interface javax.microedition.content.ContentHandlerServer.
ContentHandlerServer provides methods to get new Invocation requests, to finish the processing of requests and to get the access control information.
cancelGetRequest() - Method in interface javax.microedition.content.ContentHandlerServer
Cancels a pending getRequest.
cancelGetResponse() - Method in class javax.microedition.content.Registry
Cancels a pending getResponse.

E

ERROR - Static variable in class javax.microedition.content.Invocation
The content handler failed to correctly process the Invocation request.

F

findHandler(Invocation) - Method in class javax.microedition.content.Registry
Gets the registered content handlers that could be used for this Invocation.
findType() - Method in class javax.microedition.content.Invocation
Finds the type of the content in this Invocation.
finish(Invocation, int) - Method in interface javax.microedition.content.ContentHandlerServer
Finishes the Invocation and sets the status for the response.
forAction(String) - Method in class javax.microedition.content.Registry
Gets the registered content handlers that support the action.
forID(String, boolean) - Method in class javax.microedition.content.Registry
Gets the registered content handler for the ID.
forSuffix(String) - Method in class javax.microedition.content.Registry
Gets the content handlers for the suffix.
forType(String) - Method in class javax.microedition.content.Registry
Gets the registered content handlers for the content type.

G

getAccessAllowed(int) - Method in interface javax.microedition.content.ContentHandlerServer
Gets the ID at the specified index of an application or content handler allowed access to this content handler.
getAction(String) - Method in class javax.microedition.content.ActionNameMap
Gets the action for the action name.
getAction(int) - Method in class javax.microedition.content.ActionNameMap
Gets the action at the specified index.
getAction(int) - Method in interface javax.microedition.content.ContentHandler
Gets the action supported by the content handler at the specified index.
getAction() - Method in class javax.microedition.content.Invocation
Gets the action to be performed on the content.
getActionCount() - Method in interface javax.microedition.content.ContentHandler
Gets the number of actions supported by the content handler.
getActionName(String) - Method in class javax.microedition.content.ActionNameMap
Gets the action name for an action.
getActionName(int) - Method in class javax.microedition.content.ActionNameMap
Gets the action name at the specified index.
getActionNameMap() - Method in interface javax.microedition.content.ContentHandler
Gets the mapping of actions to action names for the current locale supported by this content handler.
getActionNameMap(String) - Method in interface javax.microedition.content.ContentHandler
Gets the mapping of actions to action names for the requested locale supported by this content handler.
getActionNameMap(int) - Method in interface javax.microedition.content.ContentHandler
Gets the ActionNameMap supported by the content handler at the specified index.
getActionNameMapCount() - Method in interface javax.microedition.content.ContentHandler
Gets the number of action name maps supported by the content handler.
getActions() - Method in class javax.microedition.content.Registry
Gets the unique actions of the registered content handlers.
getAppName() - Method in interface javax.microedition.content.ContentHandler
Gets the user-friendly application name of this content handler.
getArgs() - Method in class javax.microedition.content.Invocation
Gets the argument list as an array of Strings.
getAuthority() - Method in interface javax.microedition.content.ContentHandler
Gets the authority that authenticated this application.
getData() - Method in class javax.microedition.content.Invocation
Gets the data for the Invocation.
getErrorCode() - Method in class javax.microedition.content.ContentHandlerException
Returns the error code for the exception.
getID() - Method in interface javax.microedition.content.ContentHandler
Gets the content handler application ID.
getID() - Method in class javax.microedition.content.Invocation
Gets the content handler ID for this Invocation.
getID() - Method in class javax.microedition.content.Registry
Gets the content handler ID for the current application.
getIDs() - Method in class javax.microedition.content.Registry
Gets the IDs of the registered content handlers.
getInvokingAppName() - Method in class javax.microedition.content.Invocation
Get the user-friendly name of the application that invoked the content handler.
getInvokingAuthority() - Method in class javax.microedition.content.Invocation
Gets the authority, if any, used to authenticate the application that invoked this request.
getInvokingID() - Method in class javax.microedition.content.Invocation
Gets the ID of the application that invoked the content handler.
getLocale() - Method in class javax.microedition.content.ActionNameMap
Gets the locale for this set of action names.
getPrevious() - Method in class javax.microedition.content.Invocation
Gets the previous Invocation saved in this Invocation by Registry.invoke or Registry.getResponse.
getRegistry(String) - Static method in class javax.microedition.content.Registry
Gets the Registry for the application or content handler that will be calling registry methods.
getRequest(boolean) - Method in interface javax.microedition.content.ContentHandlerServer
Gets the next Invocation request pending for this ContentHandlerServer.
getResponse(boolean) - Method in class javax.microedition.content.Registry
Gets the next Invocation response pending for this application.
getResponseRequired() - Method in class javax.microedition.content.Invocation
Gets the responseRequired mode for this Invocation.
getServer(String) - Static method in class javax.microedition.content.Registry
Gets the content handler server registered for the content handler.
getStatus() - Method in class javax.microedition.content.Invocation
Gets the status of this Invocation, which can be INIT, WAITING, HOLD, ACTIVE, OK, CANCELLED, INITIATED, or ERROR.
getSuffix(int) - Method in interface javax.microedition.content.ContentHandler
Gets the suffix supported by the content handler at the specified index.
getSuffixCount() - Method in interface javax.microedition.content.ContentHandler
Gets the number of suffixes supported by the content handler.
getSuffixes() - Method in class javax.microedition.content.Registry
Gets the unique suffixes of the registered content handlers.
getType(int) - Method in interface javax.microedition.content.ContentHandler
Gets the type supported by the content handler at the specified index.
getType() - Method in class javax.microedition.content.Invocation
Gets the content type for the Invocation.
getTypeCount() - Method in interface javax.microedition.content.ContentHandler
Gets the number of types supported by the content handler.
getTypes() - Method in class javax.microedition.content.Registry
Gets all of the unique content types for which there are registered handlers.
getURL() - Method in class javax.microedition.content.Invocation
Gets the URL for the invocation.
getVersion() - Method in interface javax.microedition.content.ContentHandler
Gets the version of this content handler.

H

HOLD - Static variable in class javax.microedition.content.Invocation
This Invocation is on hold until a chained Invocation is completed.
hasAction(String) - Method in interface javax.microedition.content.ContentHandler
Determines if an action is supported by the content handler.
hasSuffix(String) - Method in interface javax.microedition.content.ContentHandler
Determines if a suffix is supported by the content handler.
hasType(String) - Method in interface javax.microedition.content.ContentHandler
Determines if a type is supported by the content handler.

I

INIT - Static variable in class javax.microedition.content.Invocation
This Invocation was just constructed and is being initialized.
INITIATED - Static variable in class javax.microedition.content.Invocation
The processing of the Invocation has been initiated and will continue.
Invocation - class javax.microedition.content.Invocation.
An Invocation contains the parameters that are passed from an invoking application to a content handler and the results that are returned to the application.
Invocation() - Constructor for class javax.microedition.content.Invocation
Creates a new Invocation.
Invocation(String, String, String) - Constructor for class javax.microedition.content.Invocation
Convenient alternative constructor with URL, type, and ID.
Invocation(String, String) - Constructor for class javax.microedition.content.Invocation
Convenient alternative constructor with URL and type.
Invocation(String) - Constructor for class javax.microedition.content.Invocation
Convenient alternative constructor with a URL.
Invocation(String, String, String, boolean, String) - Constructor for class javax.microedition.content.Invocation
Creates a new instance and initializes it from the specified parameters.
invocationRequestNotify(ContentHandlerServer) - Method in interface javax.microedition.content.RequestListener
The listener is notified to indicate that an new Invocation request is available.
invocationResponseNotify(Registry) - Method in interface javax.microedition.content.ResponseListener
The listener is notified to indicate that an Invocation response is available.
invoke(Invocation, Invocation) - Method in class javax.microedition.content.Registry
Checks the Invocation and uses the ID, type, URL, and action, if present, to find a matching ContentHandler and queues this request to it.
invoke(Invocation) - Method in class javax.microedition.content.Registry
Checks the Invocation and uses the ID, type, URL, and action, if present, to find a matching ContentHandler and queues this request to it.
isAccessAllowed(String) - Method in interface javax.microedition.content.ContentHandlerServer
Determines if an ID MUST be allowed access by the content handler.

J

javax.microedition.content - package javax.microedition.content
The Content Handler API and execution model allow an application to invoke registered J2ME and non-Java applications by URL, by content type, or by content handler ID.

N

NO_REGISTERED_HANDLER - Static variable in class javax.microedition.content.ContentHandlerException
The reason is NO_REGISTERED_HANDLER in a ContentHandlerException when there is no content handler registered of the requested combination of ID, type, suffix, and action.

O

OK - Static variable in class javax.microedition.content.Invocation
The content handler successfully completed processing the Invocation.
open(boolean) - Method in class javax.microedition.content.Invocation
Creates and opens a Connection to the content addressed by the URL in getURL.

R

Registry - class javax.microedition.content.Registry.
The Registry provides method to invoke, register, unregister, and query information about content handlers.
RequestListener - interface javax.microedition.content.RequestListener.
A RequestListener interface to be notified when an Invocation request is available.
ResponseListener - interface javax.microedition.content.ResponseListener.
A ResponseListener interface to be notified when an Invocation response is available.
register(String, String[], String[], String[], ActionNameMap[], String, String[]) - Method in class javax.microedition.content.Registry
Registers the application class using content type(s), suffix(es), and action(s), action name(s), access restrictions and content handler ID.
reinvoke(Invocation) - Method in class javax.microedition.content.Registry
Reinvokes the Invocation and uses the ID, type, URL, and action to find a matching ContentHandler and re-queues this request to it.

S

setAction(String) - Method in class javax.microedition.content.Invocation
Sets the action to be performed on the content.
setArgs(String[]) - Method in class javax.microedition.content.Invocation
Sets the argument list to a new array of Strings.
setCredentials(String, char[]) - Method in class javax.microedition.content.Invocation
Provide the credentials needed to access the content.
setData(byte[]) - Method in class javax.microedition.content.Invocation
Sets the data used for the Invocation.
setID(String) - Method in class javax.microedition.content.Invocation
Sets the ID of the content handler for this Invocation.
setListener(RequestListener) - Method in interface javax.microedition.content.ContentHandlerServer
Sets the listener to be notified when a new request is available for this content handler.
setListener(ResponseListener) - Method in class javax.microedition.content.Registry
Sets the listener to be notified when a new response is available for the application context.
setResponseRequired(boolean) - Method in class javax.microedition.content.Invocation
Sets the responseRequired mode for this Invocation.
setType(String) - Method in class javax.microedition.content.Invocation
Sets the type for the Invocation.
setURL(String) - Method in class javax.microedition.content.Invocation
Sets the URL for the invocation.
size() - Method in class javax.microedition.content.ActionNameMap
Gets the number of pairs of actions and action names.

T

TYPE_UNKNOWN - Static variable in class javax.microedition.content.ContentHandlerException
The reason is TYPE_UNKNOWN in a ContentHandlerException when the type is not available.

U

UNIVERSAL_TYPE - Static variable in interface javax.microedition.content.ContentHandler
The universal type; a handler supporting this type can handle any type of content.
unregister(String) - Method in class javax.microedition.content.Registry
Removes the content handler registration for the application class and any bindings made during registration to the content ID, type(s), suffix(es), and action(s), etc.

W

WAITING - Static variable in class javax.microedition.content.Invocation
This Invocation has been invoked and is waiting to be complete.

A C E F G H I J N O R S T U W
Java™ 2 Platform, Micro Edition Content Handler API (Final Release, June 3, 2005)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 211 specification.