|
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
Implementation of BeanDef that uses introspection to identify properties. The classes used by this must have the following properties:
| Constructor Summary | |
IntrospectionBeanDef(java.lang.String className)
Create an IntrospectionBeanDef. |
|
IntrospectionBeanDef(java.lang.String className,
java.lang.String defaultProperty)
Create an IntrospectionBeanDef. |
|
| Method Summary | |
protected void |
addProperty(java.beans.PropertyDescriptor descriptor)
Hook for overriding the behavior of a found property. |
java.lang.Object |
createBean(java.lang.String namespaceURI,
java.lang.String localName)
Creates a bean, specifying the namespace URI and localName |
protected PropertyDef |
createPropertyDef(java.beans.PropertyDescriptor descriptor)
Hook for overriding the behavior of a found property. |
java.lang.Object |
finishBean(java.lang.Object bean)
"Finishes" a bean by transforming it into the final target object. |
PropertyDef |
getDefaultPropertyDef()
Gets the "default" property definition. |
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 name)
Gets an property definition. |
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. |
protected void |
loadProperties()
Force the definition of the bean to be loaded. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IntrospectionBeanDef(java.lang.String className)
className -
public IntrospectionBeanDef(java.lang.String className,
java.lang.String defaultProperty)
className - | Method Detail |
public PropertyDef getPropertyDef(java.lang.String name)
BeanDefgetPropertyDef in class BeanDeforacle.cabo.share.xml.beans.BeanDefname - the property name
public PropertyDef getPropertyDef(java.lang.String namespace,
java.lang.String name)
BeanDefgetPropertyDef in class BeanDeforacle.cabo.share.xml.beans.BeanDefnamespace - the namespacename - the property name
public java.lang.Object createBean(java.lang.String namespaceURI,
java.lang.String localName)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
BeanDefcreateBean in class BeanDeforacle.cabo.share.xml.beans.BeanDefnamespaceURI - the namespace URI of the beanlocalName - the local name of the beanpublic java.lang.Object finishBean(java.lang.Object bean)
BeanDeffinishBean in class BeanDeforacle.cabo.share.xml.beans.BeanDefbean - the bean created by createBean()
public PropertyDef getElementPropertyDef(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attrs)
BeanDefgetElementPropertyDef in class BeanDeforacle.cabo.share.xml.beans.BeanDefnamespace - the namespacename - the property nameattrs - the XML attributespublic PropertyDef getDefaultPropertyDef()
BeanDefgetDefaultPropertyDef in class BeanDeforacle.cabo.share.xml.beans.BeanDef
public boolean isInlineChildProperty(java.lang.String namespace,
java.lang.String name,
PropertyDef def)
BeanDefisInlineChildProperty in class BeanDefprotected void loadProperties()
addPropertyaddProperty(java.beans.PropertyDescriptor)protected void addProperty(java.beans.PropertyDescriptor descriptor)
descriptor - the PropertyDescriptorprotected PropertyDef createPropertyDef(java.beans.PropertyDescriptor descriptor)
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 | ||||||||