|
||||||||||
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.FacesConfigBean
public class FacesConfigBean
FacesConfigBean is a Java representation of the faces-config XML element.
Constructor Summary | |
---|---|
FacesConfigBean()
|
Method Summary | |
---|---|
void |
addComponent(ComponentBean component)
Adds a component to this faces config document. |
void |
addConverter(ConverterBean converter)
Adds a converter to this faces config document. |
void |
addEvent(EventBean event)
Adds an event to this faces config document. |
void |
addRenderKit(RenderKitBean renderKit)
Adds a render kit to this faces config document. |
void |
addValidator(ValidatorBean validator)
Adds a validator to this faces config document. |
Iterator<ComponentBean> |
components()
Returns an iterator for all components in this faces config. |
Iterator<ConverterBean> |
converters()
Returns an iterator for all converters in this faces config. |
Iterator<EventBean> |
events()
Returns an iterator for all events in this faces config. |
ComponentBean |
findComponent(String componentType)
Returns the component for this component type. |
ConverterBean |
findConverter(String converterId)
Returns the converter for this converter type. |
EventBean |
findEvent(String eventType)
Returns the event for this event type. |
RenderKitBean |
findRenderKit(String renderKitId)
Returns the render kit for this render kit id. |
ValidatorBean |
findValidator(String validatorId)
Returns the validator for this validator type. |
URL |
getCurrentResource()
|
boolean |
hasComponents()
Returns true if this faces config has any components. |
boolean |
hasConverters()
Returns true if this faces config has any converters. |
boolean |
hasEvents()
Returns true if this faces config has any events. |
boolean |
hasRenderKits()
Returns true if this faces config has any render kits. |
boolean |
hasValidators()
Returns true if this faces config has any validators. |
void |
performPostProcessing()
Performs any processing of the meta-data that must be performed after all of the meta-data has been collected. |
Iterator |
renderKits()
Returns an iterator for all render kits in this faces config. |
URL |
setCurrentResource(URL resource)
|
Iterator<ValidatorBean> |
validators()
Returns an iterator for all validators in this faces config. |
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 FacesConfigBean()
Method Detail |
---|
public void addConverter(ConverterBean converter)
converter
- the converter to addpublic ConverterBean findConverter(String converterId)
converterId
- the converter type to findpublic boolean hasConverters()
public Iterator<ConverterBean> converters()
public void addValidator(ValidatorBean validator)
validator
- the validator to addpublic ValidatorBean findValidator(String validatorId)
validatorId
- the validator type to findpublic boolean hasValidators()
public Iterator<ValidatorBean> validators()
public void addComponent(ComponentBean component)
component
- the component to addpublic ComponentBean findComponent(String componentType)
componentType
- the component type to findpublic boolean hasComponents()
public Iterator<ComponentBean> components()
public void addEvent(EventBean event)
event
- the event to addpublic EventBean findEvent(String eventType)
eventType
- the event type to findpublic boolean hasEvents()
public Iterator<EventBean> events()
public void addRenderKit(RenderKitBean renderKit)
renderKit
- the render kit to addpublic RenderKitBean findRenderKit(String renderKitId)
renderKitId
- the render kit id to findpublic boolean hasRenderKits()
public Iterator renderKits()
public URL getCurrentResource()
public URL setCurrentResource(URL resource)
public void performPostProcessing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |