|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcookxml.core.taglibrary.MultiNSTagLibrary
This tag library pools several SingleNSTagLibrary together to serve as a single TagLibrary.
| Constructor Summary | |
MultiNSTagLibrary()
|
|
MultiNSTagLibrary(TagLibrary parentTagLibrary)
|
|
| Method Summary | |
void |
addTagLibrary(String ns,
SingleNSTagLibrary tagLibrary)
|
Adder |
getAdder(String ns,
String tag)
Get the Adder delegate associated with the namespace and tag. |
Converter |
getConverter(String ns,
Class targetClass)
Get the Converter that converts a string attribute value into the target class. |
Creator |
getCreator(String ns,
String tag)
Get the Creator object factory associated with the namespace and tag. |
Setter |
getSetter(String ns,
String tag,
String attrNS,
String attr)
Get the Setter delegate associated with the namespace and tag. |
SpecialCreator |
getSpecialCreator()
Get the SpecialCreator for the TagLibrary. |
SingleNSTagLibrary |
getTagLibrary(String ns)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MultiNSTagLibrary()
public MultiNSTagLibrary(TagLibrary parentTagLibrary)
| Method Detail |
public void addTagLibrary(String ns,
SingleNSTagLibrary tagLibrary)
public SingleNSTagLibrary getTagLibrary(String ns)
public SpecialCreator getSpecialCreator()
TagLibraryMost TagLibrary implementations should simply return the parent tag library implementation if it does not handle it for sure. TagLibrary implementations that pool several TagLibraries should pool multiple SpecialCreator instances into one.
getSpecialCreator in interface TagLibrary
public Creator getCreator(String ns,
String tag)
TagLibrary
getCreator in interface TagLibraryns - the namespace.tag - the tag name.
public Setter getSetter(String ns,
String tag,
String attrNS,
String attr)
TagLibrary
getSetter in interface TagLibraryns - the namespace.tag - the tag name.attrNS - the attribute namespace.attr - the attribute name @return the Setter delegate.
public Adder getAdder(String ns,
String tag)
TagLibrary
getAdder in interface TagLibraryns - the tag namespace.tag - the tag name.
public Converter getConverter(String ns,
Class targetClass)
TagLibrary
getConverter in interface TagLibraryns - the attribute namespace.targetClass - the target class type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||