java.lang.reflect.Method, javax.el.FunctionMapper
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. |
| public Method | resolveFunction(String
the prefix of the function, or "" if no prefix.
For example, prefix, String "fn" in ${fn:method()}, or
"" in ${method()}.the short name of the function. For example,
localName)"method" in ${fn:method()}.Implements abstract javax. java.lang.Method.
|
| public String | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. |
| functions | back to summary |
|---|---|
| private Map<K, V> functions | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DefaultFunctionMapper | back to summary |
|---|---|
| public DefaultFunctionMapper() | |
| addFunction | back to summary |
|---|---|
| public void addFunction(String prefix, String localName, Method m) | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| resolveFunction | back to summary |
|---|---|
| public Method resolveFunction(String prefix, String localName) Implements abstract javax. Doc from javax. Resolves the specified prefix and local name into a
Returns
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected transient Method | |
| protected String | |
| protected String | |
| protected String | |
| private static final long | |
| protected String[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public Method | |
| public int | |
| public boolean | |
| public void | readExternal(ObjectInput
the stream to read data from in order to restore the object in)Implements java. |
| public String | |
| public void | writeExternal(ObjectOutput
the stream to write the object to out)Implements java. |
| localName | back to summary |
|---|---|
| protected String localName | |
| m | back to summary |
|---|---|
| protected transient Method m | |
| name | back to summary |
|---|---|
| protected String name | |
| owner | back to summary |
|---|---|
| protected String owner | |
| prefix | back to summary |
|---|---|
| protected String prefix | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| types | back to summary |
|---|---|
| protected String[] types | |
| Function | back to summary |
|---|---|
| public Function(String prefix, String localName, Method m) | |
| Function | back to summary |
|---|---|
| public Function() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getMethod | back to summary |
|---|---|
| public Method getMethod() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| matches | back to summary |
|---|---|
| public boolean matches(String prefix, String localName) | |
| readExternal | back to summary |
|---|---|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException Implements java. Doc from java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeExternal | back to summary |
|---|---|
| public void writeExternal(ObjectOutput out) throws IOException Implements java. Doc from java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
| |