|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.buildtools.maven2.plugin.faces.parse.ObjectBean
org.apache.myfaces.buildtools.maven2.plugin.faces.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. |
java.util.Iterator |
components()
Returns an iterator for all components in this faces config. |
java.util.Iterator |
converters()
Returns an iterator for all converters in this faces config. |
java.util.Iterator |
events()
Returns an iterator for all events in this faces config. |
ComponentBean |
findComponent(java.lang.String componentType)
Returns the component for this component type. |
ConverterBean |
findConverter(java.lang.String converterId)
Returns the converter for this converter type. |
EventBean |
findEvent(java.lang.String eventType)
Returns the event for this event type. |
RenderKitBean |
findRenderKit(java.lang.String renderKitId)
Returns the render kit for this render kit id. |
ValidatorBean |
findValidator(java.lang.String validatorId)
Returns the validator for this validator type. |
java.net.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. |
java.util.Iterator |
renderKits()
Returns an iterator for all render kits in this faces config. |
java.net.URL |
setCurrentResource(java.net.URL resource)
|
java.util.Iterator |
validators()
Returns an iterator for all validators in this faces config. |
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.faces.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(java.lang.String converterId)
converterId
- the converter type to findpublic boolean hasConverters()
public java.util.Iterator converters()
public void addValidator(ValidatorBean validator)
validator
- the validator to addpublic ValidatorBean findValidator(java.lang.String validatorId)
validatorId
- the validator type to findpublic boolean hasValidators()
public java.util.Iterator validators()
public void addComponent(ComponentBean component)
component
- the component to addpublic ComponentBean findComponent(java.lang.String componentType)
componentType
- the component type to findpublic boolean hasComponents()
public java.util.Iterator components()
public void addEvent(EventBean event)
event
- the event to addpublic EventBean findEvent(java.lang.String eventType)
eventType
- the event type to findpublic boolean hasEvents()
public java.util.Iterator events()
public void addRenderKit(RenderKitBean renderKit)
renderKit
- the render kit to addpublic RenderKitBean findRenderKit(java.lang.String renderKitId)
renderKitId
- the render kit id to findpublic boolean hasRenderKits()
public java.util.Iterator renderKits()
public java.net.URL getCurrentResource()
public java.net.URL setCurrentResource(java.net.URL resource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |