public class FacesConfigBean extends ObjectBean
| Constructor and Description |
|---|
FacesConfigBean() |
| Modifier and Type | Method and Description |
|---|---|
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 |
components()
Returns an iterator for all components in this faces
config.
|
Iterator |
converters()
Returns an iterator for all converters in this faces
config.
|
Iterator |
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.
|
Iterator |
renderKits()
Returns an iterator for all render kits in this faces
config.
|
URL |
setCurrentResource(URL resource) |
Iterator |
validators()
Returns an iterator for all validators in this faces
config.
|
attach, getOwner, isModifiedSincepublic void addConverter(ConverterBean converter)
converter - the converter to addpublic ConverterBean findConverter(String converterId)
converterId - the converter type to findpublic boolean hasConverters()
public Iterator 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 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 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 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()
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.