Package org.ocpsoft.rewrite.el
Class El
java.lang.Object
org.ocpsoft.rewrite.el.El
- All Implemented Interfaces:
Binding,Retrieval,Submission
- Direct Known Subclasses:
El.ElMethod,El.ElProperties,El.ElProperty
Responsible for binding to EL expressions.
- Author:
- Lincoln Baxter, III
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHandle EL Method Invocation and Value Extractionstatic classstatic classHandle EL Property Injection and Extraction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ElCreate a new EL Method binding using distinct expressions to submit and retrieve values.static Elproperties(Field submit, Field retrieve) Create a new EL Value binding using a single expression to submit and retrieve values.static Elproperties(String submit, String retrieve) Create a new EL Value binding using a single expression to submit and retrieve values.static ElCreate a new EL Value binding using a single expression to submit and retrieve values.static ElCreate a new EL Value binding using a single expression to submit and retrieve values.static ElCreate a new EL Value binding using a single expression to submit and retrieve values.static ElretrievalMethod(Class<?> clazz, String methodName) Create a new EL Method binding to retrieve values.static ElretrievalMethod(Method method) Create a new EL Method binding to retrieve values.static ElretrievalMethod(String expression) Create a new EL Method binding to retrieve values.static ElsubmissionMethod(String expression) Create a new EL Method binding to submit values.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ocpsoft.rewrite.bind.Binding
supportsRetrieval, supportsSubmissionMethods inherited from interface org.ocpsoft.rewrite.bind.Submission
submit
-
Constructor Details
-
El
public El()
-
-
Method Details
-
method
Create a new EL Method binding using distinct expressions to submit and retrieve values. The method intended for use in submission must accept a single parameter of the expected type. -
retrievalMethod
Create a new EL Method binding to retrieve values. The method must return a value of the expected type. -
retrievalMethod
Create a new EL Method binding to retrieve values. This method allows the caller to supplyMethodinstance to refer to the method that should be invoked. -
retrievalMethod
Create a new EL Method binding to retrieve values. This method allows the caller to supply theClassrepresenting the type of the target object and the method name to refer to the method that should be invoked. -
submissionMethod
Create a new EL Method binding to submit values. The method must accept a single parameter of the expected type. -
property
Create a new EL Value binding using a single expression to submit and retrieve values. The specified property must either be public, or have a publicly defined getter/setter. -
property
Create a new EL Value binding using a single expression to submit and retrieve values. The specified property must either be public, or have a publicly defined getter/setter. Instead of an EL expression this method expects aFieldargument. The EL expression will be automatically created at runtime. -
property
Create a new EL Value binding using a single expression to submit and retrieve values. The specified property must either be public, or have a publicly defined getter/setter. Instead of an EL expression this method expects theClassrepresenting the type of the target object and the field name. The EL expression will be automatically created at runtime. -
properties
Create a new EL Value binding using a single expression to submit and retrieve values. The specified property must either be public, or have a publicly defined getter/setter. -
properties
Create a new EL Value binding using a single expression to submit and retrieve values. The specified property must either be public, or have a publicly defined getter/setter. Instead of an EL expression this method expects aFieldargument. The EL expression will be automatically created at runtime.
-