public final class TagAttributeImpl extends TagAttribute
| Constructor and Description | 
|---|
| TagAttributeImpl(Location location,
                String ns,
                String localName,
                String qName,
                String value) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | getBoolean(FaceletContext ctx)If literal, return  Boolean.getBoolean(java.lang.String)passing our
 value, otherwise callgetObject(FaceletContext, Class). | 
| int | getInt(FaceletContext ctx)If literal, call  Integer.parseInt(String), otherwise callgetObject(FaceletContext, Class). | 
| String | getLocalName()Local name of this attribute | 
| Location | getLocation()The location of this attribute in the FaceletContext | 
| javax.el.MethodExpression | getMethodExpression(FaceletContext ctx,
                   Class type,
                   Class[] paramTypes)Create a MethodExpression, using this attribute's value as the expression String. | 
| String | getNamespace()The resolved Namespace for this attribute | 
| Object | getObject(FaceletContext ctx)Delegates to getObject with Object.class as a param
 
 See #getObject(FaceletContext, Class) | 
| Object | getObject(FaceletContext ctx,
         Class type)If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression
 and evaluate it. | 
| String | getQName()The qualified name for this attribute | 
| String | getValue()Return the literal value of this attribute | 
| String | getValue(FaceletContext ctx)If literal, then return our value, otherwise delegate to getObject, passing String.class. | 
| javax.el.ValueExpression | getValueExpression(FaceletContext ctx,
                  Class type)Create a ValueExpression, using this attribute's literal value and the passed expected type. | 
| boolean | isLiteral()If this TagAttribute is literal (not #{..} or ${..}) | 
| String | toString() | 
getTag, setTagpublic boolean getBoolean(FaceletContext ctx)
Boolean.getBoolean(java.lang.String) passing our
 value, otherwise call getObject(FaceletContext, Class).
 
 See Boolean#getBoolean(java.lang.String)
 See #getObject(FaceletContext, Class)getBoolean in class TagAttributectx - FaceletContext to usepublic int getInt(FaceletContext ctx)
Integer.parseInt(String), otherwise call
 getObject(FaceletContext, Class).
 
 See Integer#parseInt(java.lang.String)
 See #getObject(FaceletContext, Class)getInt in class TagAttributectx - FaceletContext to usepublic String getLocalName()
getLocalName in class TagAttributepublic Location getLocation()
getLocation in class TagAttributepublic javax.el.MethodExpression getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)
getMethodExpression in class TagAttributectx - FaceletContext to usetype - expected return typeparamTypes - parameter typepublic String getNamespace()
getNamespace in class TagAttributepublic Object getObject(FaceletContext ctx)
getObject in class TagAttributectx - FaceletContext to usepublic String getQName()
getQName in class TagAttributepublic String getValue()
getValue in class TagAttributepublic String getValue(FaceletContext ctx)
getValue in class TagAttributectx - FaceletContext to usepublic Object getObject(FaceletContext ctx, Class type)
getObject in class TagAttributectx - FaceletContext to usetype - expected return typepublic javax.el.ValueExpression getValueExpression(FaceletContext ctx, Class type)
getValueExpression in class TagAttributectx - FaceletContext to usetype - expected return typepublic boolean isLiteral()
isLiteral in class TagAttributeCopyright © 2025 The Apache Software Foundation. All rights reserved.