|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.RendererBean
public class RendererBean
RenderKitBean is a Java representation of the faces-config render-kit XML element.
Constructor Summary | |
---|---|
RendererBean()
Creates a new RendererBean. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean |
---|
attach, getOwner, isModifiedSince |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RendererBean()
Method Detail |
---|
public 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 otherwise
public 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 otherwise
public ComponentBean resolveComponentType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |