|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.view.facelets.tag.ComponentTagDeclarationLibrary
public class ComponentTagDeclarationLibrary
Constructor Summary | |
---|---|
ComponentTagDeclarationLibrary()
|
Method Summary | |
---|---|
void |
addComponent(String namespace,
String name,
String componentType,
String rendererType)
Add a ComponentHandler with the specified componentType and rendererType, aliased by the tag name. |
void |
addComponent(String namespace,
String name,
String componentType,
String rendererType,
Class<? extends TagHandler> handlerType)
Add a ComponentHandler with the specified componentType and rendererType, aliased by the tag name. |
boolean |
containsFunction(String ns,
String name)
If this library contains the specified function name |
boolean |
containsNamespace(String ns)
If this library contains the passed namespace |
boolean |
containsTagHandler(String ns,
String localName)
If this library contains a TagHandler for the namespace and local name |
Method |
createFunction(String ns,
String name)
Return a Method instance for the passed namespace and name |
TagHandler |
createTagHandler(String ns,
String localName,
TagConfig tag)
Create a new instance of a TagHandler, using the passed TagConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentTagDeclarationLibrary()
Method Detail |
---|
public boolean containsNamespace(String ns)
TagLibrary
containsNamespace
in interface TagLibrary
ns
- namespace
public boolean containsTagHandler(String ns, String localName)
TagLibrary
containsTagHandler
in interface TagLibrary
ns
- namespacelocalName
- local name
public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException
TagLibrary
createTagHandler
in interface TagLibrary
ns
- namespacelocalName
- local nametag
- configuration information
FacesException
public boolean containsFunction(String ns, String name)
TagLibrary
containsFunction
in interface TagLibrary
ns
- namespacename
- function name
public Method createFunction(String ns, String name)
TagLibrary
createFunction
in interface TagLibrary
ns
- namespacename
- function name
public final void addComponent(String namespace, String name, String componentType, String rendererType)
name
- name to use, "foo" would be <my:foo />componentType
- componentType to userendererType
- rendererType to useComponentHandler
,
Application.createComponent(java.lang.String)
public final void addComponent(String namespace, String name, String componentType, String rendererType, Class<? extends TagHandler> handlerType)
name
- name to use, "foo" would be <my:foo />componentType
- componentType to userendererType
- rendererType to usehandlerType
- a Class that extends AbstractComponentHandlerAbstractComponentHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |