|
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
Class for defining a bean to the parser engine.
Constructor Summary | |
BeanDef()
Creates a BeanDef. |
Method Summary | |
abstract java.lang.Object |
createBean(java.lang.String namespaceURI,
java.lang.String localName)
Creates a bean, specifying the namespace URI and localName |
abstract java.lang.Object |
finishBean(java.lang.Object bean)
"Finishes" a bean by transforming it into the final target object. |
abstract PropertyDef |
getDefaultPropertyDef()
Gets the "default" property definition. |
abstract PropertyDef |
getElementPropertyDef(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attrs)
Gets an property definition for a child element. |
abstract PropertyDef |
getPropertyDef(java.lang.String name)
Gets an property definition. |
abstract PropertyDef |
getPropertyDef(java.lang.String namespace,
java.lang.String name)
Gets an property definition for a namespaced property. |
abstract 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeanDef()
Method Detail |
public abstract PropertyDef getPropertyDef(java.lang.String name)
name
- the property namepublic abstract PropertyDef getPropertyDef(java.lang.String namespace, java.lang.String name)
namespace
- the namespacename
- the property namepublic abstract PropertyDef getElementPropertyDef(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attrs)
namespace
- the namespacename
- the property nameattrs
- the XML attributespublic abstract PropertyDef getDefaultPropertyDef()
public abstract boolean isInlineChildProperty(java.lang.String namespace, java.lang.String name, PropertyDef def)
public abstract java.lang.Object createBean(java.lang.String namespaceURI, java.lang.String localName) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
namespaceURI
- the namespace URI of the beanlocalName
- the local name of the beanpublic abstract java.lang.Object finishBean(java.lang.Object bean)
bean
- the bean created by createBean()
|
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 |