| org.netbeans.modules.visualweb.insync.beans.Bean org.netbeans.modules.visualweb.insync.faces.MarkupBean
All known Subclasses: org.netbeans.modules.visualweb.insync.faces.HtmlBean, org.netbeans.modules.visualweb.insync.faces.FacesBean,
MarkupBean | abstract public class MarkupBean extends Bean (Code) | | Abstract superclass for a Bean that may have entries in markup source as well as Java source
author: cquinn |
MarkupBean | public MarkupBean(FacesPageUnit unit, BeanInfo beanInfo, String name, Element element)(Code) | | Construct a bean bound to existing field & accessor methods, and page element. Parent will be
set later using bindParent().
Parameters: unit - Parameters: beanInfo - Parameters: name - Parameters: field - Parameters: getter - Parameters: setter - |
MarkupBean | public MarkupBean(FacesPageUnit unit, BeanInfo beanInfo, String name, MarkupBean parent, Element element)(Code) | | Construct a new bean, creating the underlying field and accessor methods and using given page
element
Parameters: unit - Parameters: beanInfo - Parameters: name - Parameters: parent - |
bindParent | public Bean bindParent()(Code) | | Take the opportinuty to scan for and bind to this bean's parent
the parent of this bean iff not previously bound |
getAttr | public Attr getAttr(String name)(Code) | | Returns a attribute identified by name.
Parameters: name - value |
getParent | public Bean getParent()(Code) | | the parent of this bean, null if top-level bean or dead |
getPropertyDescriptorForAttribute | public PropertyDescriptor getPropertyDescriptorForAttribute(String attributeName)(Code) | | Get the PropertyDescriptor for a property of this bean indicated by the attribute name
Parameters: attributeName - the attribute name to look for the PropertyDescriptor for the property |
isParentCapable | public boolean isParentCapable()(Code) | | true iff this is capable of having children. |
removeAttr | void removeAttr(String name)(Code) | | Remove a given attribute identified by name.
Parameters: name - |
removeChild | public void removeChild(Bean child)(Code) | | |
removeEntry | public boolean removeEntry()(Code) | | Remove this bean's field, methods and statements from the host class. This bean instance is
dead & should not be used.
true iff the source entry for this bean was actually removed. |
setAttr | void setAttr(String name, String value)(Code) | | Set a given attribute identified by name to a given value, creating the attr as needed.
Parameters: name - Parameters: value - |
|
|