public interface AppContext
| Modifier and Type | Method | Description |
|---|---|---|
AppContextElement |
getElement(java.lang.String name) |
Gets an element for the specified
AppContextElement name. |
AppContextElement[] |
getElements(java.lang.String[] names) |
Gets an array of
AppContextElement objects containing values for each of the
named elements that are known. |
java.lang.String[] |
getNames() |
Gets a list of
AppContextElement names that may be requested. |
int |
size() |
Provides the count of the number of
AppContextElements that the AppContext
is able to return. |
int size()
AppContextElements that the AppContext
is able to return.AppContextElements that can be
requested. A value of -1 indicates that the
handler is unable to return the exact count.java.lang.String[] getNames()
AppContextElement names that may be requested.AppContextElements that
may be requested, represented as an array of Strings.AppContextElement getElement(java.lang.String name)
AppContextElement name.name - the name of the AppContextElement for which a value
should be returned, represented as a String.Object that contains the value of the requested name.
If the value of the name parameter is unknown,
a null value is returned.AppContextElement[] getElements(java.lang.String[] names)
AppContextElement objects containing values for each of the
named elements that are known.names - the names of the AppContextElements
to be returned, represented as an array of Strings.AppContextElement object for
each of the named elements found in the names
parameter. The value for the requested element is returned as
a java.lang.Object.
If a name in the names parameter is unknown, the
name will not appear in the array of AppContextElement
objects.