public class CommonLib
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE |
static java.lang.String |
LISTENERS |
static java.lang.String |
MAP |
static java.lang.String |
NAMESPACE
this is the namespace for CookXml Common tags
|
static java.lang.String |
NOADD |
Modifier and Type | Method and Description |
---|---|
static InheritableTagLibrary |
createTagLibrary(TagLibrary parentTagLibrary)
Create a new instance of common tag library.
|
static InheritableTagLibrary |
getSingletonTagLibrary()
Get the singleton instance of the Common tag library.
|
static void |
setupTags(InheritableTagLibrary tagLibrary)
Setup common component tags for a tag library.
|
public static java.lang.String NAMESPACE
public static final java.lang.String MAP
public static final java.lang.String LISTENERS
public static final java.lang.String NOADD
public static final java.lang.String BASE
public static void setupTags(InheritableTagLibrary tagLibrary) throws CookXmlException
tagLibrary
- the tag library to be setupCookXmlException
- thrown if errors occurred.public static InheritableTagLibrary createTagLibrary(TagLibrary parentTagLibrary)
parentTagLibrary
- the parent tag librarypublic static InheritableTagLibrary getSingletonTagLibrary()
This instance of library is not created until this functio is called.