|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.share.xml.beans.BeanDef | +--oracle.cabo.share.xml.beans.IntrospectionBeanDef | +--oracle.cabo.ui.xml.parse.UIBeanDef
UIX bean definition for introspection-based beans that support UIX Components objects. In particular, when used in conjunction with the UIBeanParser, this adds the following pieces of functionality:
Specifically, if any of the properties end with
"Binding" and take a BoundValue
,
then the property will be interpreted as databinding support.
public void setWidth(int width); public int getWidth(); public void setWidthBinding(BoundValue value);...then the XML "width" attribute will be interpreted as supporting data binding, and each piece of the following XML will be accepted:
<theElementName width="10"/> <theElementName data:width="foo@data"/> <theElementName> <boundAttribute name="width"> <!-- a bound value element --> </boundAttribute> </theElementName>
Constructor Summary | |
UIBeanDef(java.lang.String className)
|
|
UIBeanDef(java.lang.String className,
java.lang.String defaultProperty)
|
Method Summary | |
protected void |
addProperty(java.beans.PropertyDescriptor property)
Hook for overriding the behavior of a found property. |
PropertyDef |
getElementPropertyDef(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attrs)
Gets an property definition for a child element. |
PropertyDef |
getPropertyDef(java.lang.String namespace,
java.lang.String name)
Gets an property definition for a namespaced property. |
boolean |
isInlineChildProperty(java.lang.String namespace,
java.lang.String name,
PropertyDef def)
Returns true if the PropertyDef is defined with an inline child element. |
Methods inherited from class oracle.cabo.share.xml.beans.IntrospectionBeanDef |
createBean, createPropertyDef, finishBean, getDefaultPropertyDef, getPropertyDef, loadProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UIBeanDef(java.lang.String className)
public UIBeanDef(java.lang.String className, java.lang.String defaultProperty)
Method Detail |
public PropertyDef getPropertyDef(java.lang.String namespace, java.lang.String name)
BeanDef
getPropertyDef
in class IntrospectionBeanDef
oracle.cabo.share.xml.beans.BeanDef
namespace
- the namespacename
- the property namepublic PropertyDef getElementPropertyDef(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attrs)
BeanDef
getElementPropertyDef
in class IntrospectionBeanDef
oracle.cabo.share.xml.beans.BeanDef
namespace
- the namespacename
- the property nameattrs
- the XML attributespublic boolean isInlineChildProperty(java.lang.String namespace, java.lang.String name, PropertyDef def)
BeanDef
isInlineChildProperty
in class IntrospectionBeanDef
protected void addProperty(java.beans.PropertyDescriptor property)
IntrospectionBeanDef
addProperty
in class IntrospectionBeanDef
oracle.cabo.share.xml.beans.IntrospectionBeanDef
descriptor
- the PropertyDescriptor
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |