public class RendererBean extends ObjectBean
| Constructor and Description |
|---|
RendererBean()
Creates a new RendererBean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(AttributeBean attribute)
Adds a attribute to this component.
|
void |
addFacet(FacetBean facet)
Adds a facet to this component.
|
Iterator |
attributes()
Returns an iterator for all attributes on this component only.
|
Iterator |
attributes(boolean flatten)
Returns an iterator for attributes on this component.
|
Iterator |
facets()
Returns an iterator for all facets on this component only.
|
Iterator |
facets(boolean flatten)
Returns an iterator for facets on this component.
|
AttributeBean |
findAttribute(String attributeName)
Returns the attribute for this attribute name.
|
String |
findComponentClass()
Finds the renderer-specific component class for this renderer.
|
String |
findComponentFamilyClass()
Finds the behavioral component class for this renderer.
|
FacetBean |
findFacet(String facetName)
Returns the facet for this facet name.
|
String |
getComponentFamily()
Returns the component family for this component.
|
String |
getComponentType()
Returns the component type for this component.
|
String |
getDescription()
Returns the description of this attribute.
|
String |
getRendererClass()
Returns the renderer class for this renderer.
|
String |
getRendererSuperclass()
Returns the renderer superclass for this component.
|
String |
getRendererType()
Returns the renderer type for this component.
|
boolean |
hasAttributes()
Returns true if this component has any attributes.
|
boolean |
hasAttributes(boolean flatten)
Returns true if this component or any component supertype
has any attributes.
|
boolean |
hasFacets()
Returns true if this component has any facets.
|
boolean |
hasFacets(boolean flatten)
Returns true if this component or any component supertype
has any facets.
|
ComponentBean |
resolveComponentType()
Returns the component type instance.
|
void |
setComponentFamily(String componentFamily)
Sets the component family for this component.
|
void |
setComponentType(String componentType)
Sets the component type for this component.
|
void |
setDescription(String description)
Sets the description of this attribute.
|
void |
setRendererClass(String rendererClass)
Sets the renderer class for this renderer.
|
void |
setRendererSuperclass(String rendererSuperclass)
Sets the renderer superclass for this renderer.
|
void |
setRendererType(String rendererType)
Sets the renderer type for this component.
|
attach, getOwner, isModifiedSincepublic void setComponentFamily(String componentFamily)
componentFamily - the component familypublic String getComponentFamily()
public void setRendererType(String rendererType)
rendererType - the renderer typepublic String getRendererType()
public void setRendererClass(String rendererClass)
rendererClass - the renderer classpublic String getRendererClass()
public void setDescription(String description)
description - the attribute descriptionpublic String getDescription()
public void setComponentType(String componentType)
componentType - the component typepublic String getComponentType()
public void setRendererSuperclass(String rendererSuperclass)
rendererSuperclass - the renderer superclasspublic String getRendererSuperclass()
public String findComponentClass()
public String findComponentFamilyClass()
public void addAttribute(AttributeBean attribute)
attribute - the attribute to addpublic AttributeBean findAttribute(String attributeName)
attributeName - the attribute name to findpublic boolean hasAttributes()
public boolean hasAttributes(boolean flatten)
public Iterator attributes()
public Iterator attributes(boolean flatten)
flatten - true if the iterator should be a combined list of
attributes of this component and its supertype,
false otherwisepublic void addFacet(FacetBean facet)
facet - the facet to addpublic FacetBean findFacet(String facetName)
facetName - the facet name to findpublic boolean hasFacets()
public boolean hasFacets(boolean flatten)
public Iterator facets()
public Iterator facets(boolean flatten)
flatten - true if the iterator should be a combined list of
facets of this component and its supertype,
false otherwisepublic ComponentBean resolveComponentType()
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.