| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final Location | |
| private final String | |
| private final String | |
| private String | |
| private Tag | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: boolean valueFaceletContext to use ctx)Implements abstract javax.
If literal,return
|
| public int | Returns: int valueFaceletContext to use ctx)Implements abstract javax. Integer.parseInt(String),
otherwise call
getObject(FaceletContext, Class).
|
| public String | Returns: local name of this attributeImplements abstract javax. |
| public Location | Returns: the TagAttributeImpl's locationImplements abstract javax. |
| public MethodExpression | Returns: a MethodExpression instanceFaceletContext to use ctx, Class<T> expected return type type, Class<T>[] parameter type paramTypes)Implements abstract javax. |
| public String | Returns: resolved NamespaceImplements abstract javax. |
| public Object | Returns: Object representation of this attribute's valueFaceletContext to use ctx)Implements abstract javax. |
| public Object | Returns: Object value of this attributeFaceletContext to use ctx, Class<T> expected return type type)Implements abstract javax. |
| public String | Returns: the qualified name for this attributeImplements abstract javax. |
| public Tag | getTag()
Overrides javax. A reference to the Tag for which this class represents the attributes. |
| public String | Returns: literal valueImplements abstract javax. |
| public String | Returns: String value of this attributeFaceletContext to use ctx)Implements abstract javax. |
| public ValueExpression | Returns: ValueExpression instanceFaceletContext to use ctx, Class<T> expected return type type)Implements abstract javax. |
| public ValueExpression | |
| public boolean | Returns: true if this attribute is literalImplements abstract javax. |
| public void | setTag(Tag
the tag we represent. tag)Overrides javax. Set a reference to the Tag for which this class represents the attributes. |
| public String |
| literal | back to summary |
|---|---|
| private final boolean literal | |
| localName | back to summary |
|---|---|
| private final String localName | |
| location | back to summary |
|---|---|
| private final Location location | |
| namespace | back to summary |
|---|---|
| private final String namespace | |
| qName | back to summary |
|---|---|
| private final String qName | |
| string | back to summary |
|---|---|
| private String string | |
| tag | back to summary |
|---|---|
| private Tag tag | |
| value | back to summary |
|---|---|
| private final String value | |
| TagAttributeImpl | back to summary |
|---|---|
| public TagAttributeImpl() | |
| TagAttributeImpl | back to summary |
|---|---|
| public TagAttributeImpl(Location location, String ns, String localName, String qName, String value) | |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean(FaceletContext ctx) Implements abstract javax.
If literal,return
| |
| getInt | back to summary |
|---|---|
| public int getInt(FaceletContext ctx) Implements abstract javax. If literal, call
| |
| getLocalName | back to summary |
|---|---|
| public String getLocalName() Implements abstract javax. Local name of this attribute | |
| getLocation | back to summary |
|---|---|
| public Location getLocation() Implements abstract javax. The location of this attribute in the FaceletContext | |
| getMethodExpression | back to summary |
|---|---|
| public MethodExpression getMethodExpression(FaceletContext ctx, Class<T> type, Class<T>[] paramTypes) Implements abstract javax. Create a MethodExpression, using this attribute's value as the expression String.
| |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Implements abstract javax. The resolved Namespace for this attribute | |
| getObject | back to summary |
|---|---|
| public Object getObject(FaceletContext ctx) Implements abstract javax. Delegates to getObject with Object.class as a param
| |
| getObject | back to summary |
|---|---|
| public Object getObject(FaceletContext ctx, Class<T> type) Implements abstract javax. If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.
| |
| getQName | back to summary |
|---|---|
| public String getQName() Implements abstract javax. The qualified name for this attribute | |
| getTag | back to summary |
|---|---|
| public Tag getTag() Overrides javax. Doc from javax. A reference to the Tag for which this class
represents the attributes. For compatibility with previous
implementations, an implementation is provided that returns
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements abstract javax. Return the literal value of this attribute | |
| getValue | back to summary |
|---|---|
| public String getValue(FaceletContext ctx) Implements abstract javax. If literal, then return our value, otherwise delegate to getObject, passing String.class.
| |
| getValueExpression | back to summary |
|---|---|
| public ValueExpression getValueExpression(FaceletContext ctx, Class<T> type) Implements abstract javax. Create a ValueExpression, using this attribute's literal value and the passed expected type.
| |
| getValueExpression | back to summary |
|---|---|
| public ValueExpression getValueExpression(FaceletContext ctx, String expr, Class<T> type) | |
| isLiteral | back to summary |
|---|---|
| public boolean isLiteral() Implements abstract javax. If this TagAttributeImpl is literal (not #{..} or ${..})
| |
| setTag | back to summary |
|---|---|
| public void setTag(Tag tag) Overrides javax. Doc from javax. Set a reference to the Tag for which this
class represents the attributes. The VDL runtime must ensure that this
method is called before any | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| private ValueExpression | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the otherObj)Object to test for equality.Implements abstract javax. Expression.
|
| public String | getExpressionString()
Implements abstract javax. Expression,
unmodified.
|
| public MethodInfo | getMethodInfo(ELContext
The context of this evaluation elContext)Implements abstract javax. |
| public int | hashCode()
Implements abstract javax. Expression.
|
| public Object | invoke(ELContext
The context of this evaluation. elContext, Object[] The parameters to pass to the method, or
args)null if no parameters.Implements abstract javax. |
| public boolean | isLiteralText()
Implements abstract javax. |
| lookupExpression | back to summary |
|---|---|
| private ValueExpression lookupExpression | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AttributeLookupMethodExpression | back to summary |
|---|---|
| public AttributeLookupMethodExpression(ValueExpression lookupExpression) | |
| AttributeLookupMethodExpression | back to summary |
|---|---|
public AttributeLookupMethodExpression()
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object otherObj) Implements abstract javax. Doc from javax. Determines whether the specified object is equal to this
The result is Note that two expressions can be equal if their expression
Strings are different. For example, | |
| getExpressionString | back to summary |
|---|---|
| public String getExpressionString() Implements abstract javax. Doc from javax. Returns the original String used to create this This is used for debugging purposes but also for the purposes of comparison (e.g. to ensure the expression in a configuration file has not changed). This method does not provide sufficient information to
re-create an expression. Two different expressions can have exactly
the same expression string but different function mappings.
Serialization should be used to save and restore the state of an
| |
| getMethodInfo | back to summary |
|---|---|
| public MethodInfo getMethodInfo(ELContext elContext) Implements abstract javax. Doc from javax. Evaluates the expression relative to the provided context, and returns information about the actual referenced method.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract javax. Doc from javax. Returns the hash code for this See the note in the
| |
| invoke | back to summary |
|---|---|
| public Object invoke(ELContext elContext, Object[] args) Implements abstract javax. Doc from javax. If a String literal is specified as the expression, returns the
String literal coerced to the expected return type of the method
signature. An | |
| isLiteralText | back to summary |
|---|---|
| public boolean isLiteralText() Implements abstract javax. Doc from javax. Returns whether this expression was created from only literal text. This method must return
| |