public class MockPropertyResolver
extends javax.faces.el.PropertyResolver
Mock implementation of PropertyResolver
.
Constructor and Description |
---|
MockPropertyResolver()
Construct a default instance.
|
Modifier and Type | Method and Description |
---|---|
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) |
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
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.