Package org.joinfaces.test.mock
Class MockTagAttribute
- java.lang.Object
-
- javax.faces.view.facelets.TagAttribute
-
- org.joinfaces.test.mock.MockTagAttribute
-
public class MockTagAttribute extends TagAttribute
Tag Attribute Mock.
-
-
Constructor Summary
Constructors Constructor Description MockTagAttribute()
MockTagAttribute(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBoolean(FaceletContext ctx)
int
getInt(FaceletContext ctx)
String
getLocalName()
Location
getLocation()
MethodExpression
getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)
String
getNamespace()
Object
getObject(FaceletContext ctx)
Object
getObject(FaceletContext ctx, Class type)
String
getQName()
String
getValue()
String
getValue(FaceletContext ctx)
ValueExpression
getValueExpression(FaceletContext ctx, Class type)
boolean
isLiteral()
-
Methods inherited from class javax.faces.view.facelets.TagAttribute
getTag, setTag
-
-
-
-
Constructor Detail
-
MockTagAttribute
public MockTagAttribute()
-
MockTagAttribute
public MockTagAttribute(String value)
-
-
Method Detail
-
getBoolean
public boolean getBoolean(FaceletContext ctx)
- Specified by:
getBoolean
in classTagAttribute
-
getInt
public int getInt(FaceletContext ctx)
- Specified by:
getInt
in classTagAttribute
-
getLocalName
public String getLocalName()
- Specified by:
getLocalName
in classTagAttribute
-
getLocation
public Location getLocation()
- Specified by:
getLocation
in classTagAttribute
-
getMethodExpression
public MethodExpression getMethodExpression(FaceletContext ctx, Class type, Class[] paramTypes)
- Specified by:
getMethodExpression
in classTagAttribute
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in classTagAttribute
-
getObject
public Object getObject(FaceletContext ctx)
- Specified by:
getObject
in classTagAttribute
-
getQName
public String getQName()
- Specified by:
getQName
in classTagAttribute
-
getValue
public String getValue()
- Specified by:
getValue
in classTagAttribute
-
getValue
public String getValue(FaceletContext ctx)
- Specified by:
getValue
in classTagAttribute
-
getObject
public Object getObject(FaceletContext ctx, Class type)
- Specified by:
getObject
in classTagAttribute
-
getValueExpression
public ValueExpression getValueExpression(FaceletContext ctx, Class type)
- Specified by:
getValueExpression
in classTagAttribute
-
isLiteral
public boolean isLiteral()
- Specified by:
isLiteral
in classTagAttribute
-
-