|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.share.xml.beans.BeanDef
public abstract class 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 name
public abstract PropertyDef getPropertyDef(java.lang.String namespace, java.lang.String name)
namespace
- the namespacename
- the property name
public abstract PropertyDef getElementPropertyDef(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attrs)
namespace
- the namespacename
- the property nameattrs
- the XML attributes
public 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 bean
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public abstract java.lang.Object finishBean(java.lang.Object bean)
bean
- the bean created by createBean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |