|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.bean.BaseViewBean.ClientIdsContentProvider
protected class BaseViewBean.ClientIdsContentProvider
Providers that maps raw control ids to client-side element ids.
Field Summary | |
---|---|
protected UIComponent |
root
Reference to the UIComponent at the root of the view. |
Constructor Summary | |
---|---|
BaseViewBean.ClientIdsContentProvider(UIComponent root)
Constructor. |
Method Summary | |
---|---|
Object[] |
getPropertyKeys()
Returns list of properties supported by this content provider. |
Class |
getType(Object propertyKey)
Returns java type of the given property |
Object |
getValue(Object propertyKey)
Returns value of the given property |
boolean |
hasProperty(Object propertyKey)
Checks if the given property is supported by this content provider |
protected void |
listAllKeys(List list,
UIComponent component)
Recursively adds all ids of descendants of component (inclusive) to list. |
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 |
Field Detail |
---|
protected UIComponent root
UIComponent
at the root of the view.
Constructor Detail |
---|
public BaseViewBean.ClientIdsContentProvider(UIComponent root)
root
- UIComponent
at the root of the view.Method Detail |
---|
public Object[] getPropertyKeys()
IContentProvider
Object[0]
,
never null.
getPropertyKeys
in interface IContentProvider
String
or Integer
public Class getType(Object propertyKey) throws PropertyNotFoundException
IContentProvider
getType
in interface IContentProvider
propertyKey
- the property key of type String
or Integer
Class
PropertyNotFoundException
- if property is not supportedpublic Object getValue(Object propertyKey) throws EvaluationException, PropertyNotFoundException
IContentProvider
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 boolean hasProperty(Object propertyKey)
IContentProvider
hasProperty
in interface IContentProvider
propertyKey
- property key of type String
or Integer
true
if property is supportedprotected void listAllKeys(List list, UIComponent component)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |