public interface TagLibrary
Modifier and Type | Method and Description |
---|---|
Adder |
getAdder(java.lang.String tagNS,
java.lang.String tag)
Get the Adder delegate associated with the namespace and tag.
|
Converter |
getConverter(java.lang.String attrNS,
java.lang.Class targetClass)
Get the Converter that converts a string attribute value into the target class.
|
Creator |
getCreator(java.lang.String tagNS,
java.lang.String tag)
Get the Creator object factory associated with the namespace and tag.
|
Setter |
getSetter(java.lang.String tagNS,
java.lang.String tag,
java.lang.String attrNS,
java.lang.String attr)
Get the Setter delegate associated with the namespace and tag.
|
SpecialCreator |
getSpecialCreator()
Get the SpecialCreator for the TagLibrary.
|
SpecialCreator getSpecialCreator()
Most 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.
Creator getCreator(java.lang.String tagNS, java.lang.String tag)
tagNS
- the namespace.tag
- the tag name.Setter getSetter(java.lang.String tagNS, java.lang.String tag, java.lang.String attrNS, java.lang.String attr)
tagNS
- the namespace.tag
- the tag name.attrNS
- the attribute namespace.attr
- the attribute name @return the Setter delegate.Adder getAdder(java.lang.String tagNS, java.lang.String tag)
tagNS
- the tag namespace.tag
- the tag name.Converter getConverter(java.lang.String attrNS, java.lang.Class targetClass)
attrNS
- the attribute namespace.targetClass
- the target class type.