Java Reference
In-Depth Information
<!ELEMENT staticMethod (value* , notValue*)>
<!ATTLIST staticMethod
name CDATA #REQUIRED
value CDATA #IMPLIED
notValue CDATA #IMPLIED>
This element specifies a static method to be called by reflection on the class.
The static method has a name and a value. The value can be described by its
String representation ( value and notValue ) or as an object ( value or notValue ).
The rules of evaluation are as follows:
The return value String must be in the “ value ” String set.
The return value String must not be in the “ notValue ” String set.
The return value object must be in the “ value ” object set.
The return value object must not be in the “ notValue ” object set.
name —The name of the Static method. The format should be
PluginID\ClassName.method , followed by an optional parameter set
between parentheses. The parameter set can contain any number of primitive
parameters or %Context(pluginID/className) , to use the context object as
a parameter. Other parameter types are not supported. The method name can
contain nested calling separated by a period (.). This is the general format for this
method name:
<,param>*>?).<<,param>*>?)>*
value —A comma-separated list of String representations of the method
return value. The String representation of the value is expected to be one of those
in the list. The syntax to use is the following: <,>* If a comma (,) is expected to
be in one of the Strings, it must be escaped by a forward slash (\). null is
accepted as a String, and it means a null object.
notValue —A comma-separated list of String representations of the method
return value that is not expected (the execution set). The String representation of
the value is expected not to be one of those in the list. The syntax to use is the
following: <,>* If a comma is expected to be in one of the Strings, it must be
escaped by a forward slash (\). null is accepted as a String, and it means a null
object.
<!ELEMENT method (value* , notValue*)>
<!ATTLIST method
name CDATA #REQUIRED
value CDATA #IMPLIED
notValue CDATA #IMPLIED>
Search WWH ::




Custom Search