|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.el.PropertyResolver org.apache.shale.test.mock.MockPropertyResolver
public class MockPropertyResolver
Mock implementation of PropertyResolver
.
Constructor Summary | |
---|---|
MockPropertyResolver()
Construct a default instance. |
Method Summary | |
---|---|
Class |
getType(Object base,
int index)
|
Class |
getType(Object base,
Object property)
|
Object |
getValue(Object base,
int index)
|
Object |
getValue(Object base,
Object property)
|
boolean |
isReadOnly(Object base,
int index)
|
boolean |
isReadOnly(Object base,
Object property)
|
void |
setValue(Object base,
int index,
Object value)
|
void |
setValue(Object base,
Object property,
Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockPropertyResolver()
Construct a default instance.
Method Detail |
---|
public Object getValue(Object base, Object property) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
getValue
in class javax.faces.el.PropertyResolver
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public Object getValue(Object base, int index) throws javax.faces.el.PropertyNotFoundException
getValue
in class javax.faces.el.PropertyResolver
javax.faces.el.PropertyNotFoundException
public void setValue(Object base, Object property, Object value) throws javax.faces.el.PropertyNotFoundException
setValue
in class javax.faces.el.PropertyResolver
javax.faces.el.PropertyNotFoundException
public void setValue(Object base, int index, Object value) throws javax.faces.el.PropertyNotFoundException
setValue
in class javax.faces.el.PropertyResolver
javax.faces.el.PropertyNotFoundException
public boolean isReadOnly(Object base, Object property) throws javax.faces.el.PropertyNotFoundException
isReadOnly
in class javax.faces.el.PropertyResolver
javax.faces.el.PropertyNotFoundException
public boolean isReadOnly(Object base, int index) throws javax.faces.el.PropertyNotFoundException
isReadOnly
in class javax.faces.el.PropertyResolver
javax.faces.el.PropertyNotFoundException
public Class getType(Object base, Object property) throws javax.faces.el.PropertyNotFoundException
getType
in class javax.faces.el.PropertyResolver
javax.faces.el.PropertyNotFoundException
public Class getType(Object base, int index) throws javax.faces.el.PropertyNotFoundException
getType
in class javax.faces.el.PropertyResolver
javax.faces.el.PropertyNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |