Representation of an XML attribute name=value pair on an XML element in a Facelet file.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract boolean | Returns: boolean valueFaceletContext to use ctx)
If literal,return |
| public abstract int | Returns: int valueFaceletContext to use ctx)If literal, call |
| public abstract String | |
| public abstract Location | Returns: the TagAttribute's locationThe location of this attribute in the FaceletContext |
| public abstract MethodExpression | Returns: a MethodExpression instanceFaceletContext to use ctx, Class<T> expected return type type, Class<T>[] parameter type paramTypes)Create a MethodExpression, using this attribute's value as the expression String. |
| public abstract String | |
| public abstract Object | Returns: Object representation of this attribute's valueFaceletContext to use ctx)Delegates to getObject with Object.class as a param |
| public abstract Object | Returns: Object value of this attributeFaceletContext to use ctx, Class<T> expected return type type)If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it. |
| public abstract String | |
| public Tag | |
| public abstract String | |
| public abstract String | Returns: String value of this attributeFaceletContext to use ctx)If literal, then return our value, otherwise delegate to getObject, passing String.class. |
| public abstract ValueExpression | Returns: theValueExpression.FaceletContext to use. ctx, Class<T> expected return type. type)Create a ValueExpression, using this attribute's literal value and the passed expected type. |
| public abstract boolean | Returns: true if this attribute is literal.If this TagAttribute is literal (not #{..} or ${..}) |
| public void |
| TagAttribute | back to summary |
|---|---|
| public TagAttribute() | |
| getBoolean | back to summary |
|---|---|
| public abstract boolean getBoolean(FaceletContext ctx)
If literal,return
| |
| getInt | back to summary |
|---|---|
| public abstract int getInt(FaceletContext ctx) If literal, call
| |
| getLocalName | back to summary |
|---|---|
| public abstract String getLocalName() Local name of this attribute
| |
| getLocation | back to summary |
|---|---|
| public abstract Location getLocation() The location of this attribute in the FaceletContext
| |
| getMethodExpression | back to summary |
|---|---|
| public abstract MethodExpression getMethodExpression(FaceletContext ctx, Class<T> type, Class<T>[] paramTypes) Create a MethodExpression, using this attribute's value as the expression String.
| |
| getNamespace | back to summary |
|---|---|
| public abstract String getNamespace() The resolved Namespace for this attribute
| |
| getObject | back to summary |
|---|---|
| public abstract Object getObject(FaceletContext ctx) Delegates to getObject with Object.class as a param
| |
| getObject | back to summary |
|---|---|
| public abstract Object getObject(FaceletContext ctx, Class<T> type) If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.
| |
| getQName | back to summary |
|---|---|
| public abstract String getQName() The qualified name for this attribute
| |
| getTag | back to summary |
|---|---|
| public Tag getTag()
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 abstract String getValue() Return the literal value of this attribute
| |
| getValue | back to summary |
|---|---|
| public abstract String getValue(FaceletContext ctx) If literal, then return our value, otherwise delegate to getObject, passing String.class.
| |
| getValueExpression | back to summary |
|---|---|
| public abstract ValueExpression getValueExpression(FaceletContext ctx, Class<T> type) Create a ValueExpression, using this attribute's literal value and the passed expected type.
| |
| isLiteral | back to summary |
|---|---|
| public abstract boolean isLiteral() If this TagAttribute is literal (not #{..} or ${..})
| |
| setTag | back to summary |
|---|---|
| public void setTag(Tag tag)
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
| |