|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.object.EmptyContentProvider
public class EmptyContentProvider
Content provider implementation that does not have any properties
EmptyContentProvider provider = new EmptyContentProvider(); provider.hasProperty("anypropertyname"); // returns false provider.getValue("anyotherroperty); // returns null
Constructor Summary | |
---|---|
EmptyContentProvider()
|
Method Summary | |
---|---|
Object[] |
getPropertyKeys()
Always returns empty array |
Class |
getType(Object propertyKey)
Always returns null |
Object |
getValue(Object propertyKey)
Always returns null |
boolean |
hasProperty(Object propertyKey)
Always returns false |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.webmethods.caf.faces.data.IContentProvider |
---|
toString |
Constructor Detail |
---|
public EmptyContentProvider()
Method Detail |
---|
public Object[] getPropertyKeys()
getPropertyKeys
in interface IContentProvider
String
or Integer
public boolean hasProperty(Object propertyKey)
hasProperty
in interface IContentProvider
propertyKey
- property key of type String
or Integer
true
if property is supportedpublic Object getValue(Object propertyKey) throws EvaluationException, PropertyNotFoundException
getValue
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
null
EvaluationException
- if error during property evaluation
PropertyNotFoundException
- if property is not supportedpublic Class getType(Object propertyKey) throws PropertyNotFoundException
getType
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
Class
PropertyNotFoundException
- if property is not supported
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |