|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.panama.adapter.RuntimeAdapterHelper
Adapter Helper Class, contains helper methods for writing adapters
| Constructor Summary | |
RuntimeAdapterHelper() | |
| Method Summary | |
static boolean |
checkConditions(ServiceContext sc, org.w3c.dom.Element wResult)Checks if OutputFilter-condition match against value. |
static Arguments |
createArguments()Helper method for creating arguments |
static void |
createInputFields(org.w3c.dom.Element simpleForm, java.lang.String[] missingParameters, Arguments arg)Creates a SimpleFormItem for every missing parameter. |
static OutputArguments |
createOutputArguments()Helper method for creating output arguments |
static org.w3c.dom.NodeList |
format(org.w3c.dom.Document owner, java.lang.String name, Arguments args, java.lang.Object[] objs)Formats an argument caption string. |
static java.lang.String |
getURLPAoidParameter(Arguments args)Creates an URL pointing to the currently running Service. |
static java.lang.String |
getURLPathParameter(Arguments args)Deprecated. replaced by getURLPAoidParameter(Arguments). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RuntimeAdapterHelper()
| Method Detail |
public static Arguments createArguments()
public static OutputArguments createOutputArguments()
public static java.lang.String getURLPathParameter(Arguments args)
getURLPAoidParameter(Arguments).args - Arguments passed to this Adapter.public static java.lang.String getURLPAoidParameter(Arguments args)
args - Arguments passed to this Adapter.
public static void createInputFields(org.w3c.dom.Element simpleForm,
java.lang.String[] missingParameters,
Arguments arg)
If a parameter caption exists, this caption is used as display text, otherwise the name of the parameter is used.
SimpleFormItem is only created for parameters who have usage = USER or if PAdebug is true.
simpleForm - The parent SimpleForm.missingParameters - An array with missing parameter names.arg - Arguments passed to this Adapter.
public static org.w3c.dom.NodeList format(org.w3c.dom.Document owner,
java.lang.String name,
Arguments args,
java.lang.Object[] objs)
owner - the owner document.name - the argument name.args - the arguments.objs - the format argument list.
public static boolean checkConditions(ServiceContext sc,
org.w3c.dom.Element wResult)
sc - ServiceContext
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||