public class CookXmlLib
extends java.lang.Object
The special attributes are fairly powerful. So it is not a good idea to include them in all the XML parsers.
This tag library is included in the CookXml Common singleton instance.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_ATTR
the attribute to specify whether or not to add the current object to the parent.
|
static java.lang.String |
FUNC_ATTR
the direct function call attribute
|
static java.lang.String |
ID_ATTR
write the id reference
|
static java.lang.String |
IDREF_ATTR
read the id reference
|
static java.lang.String |
NAMESPACE |
static java.lang.String |
SETAS_ATTR
the setter attribute
|
static java.lang.String |
TAG_ATTR
the tag attribute for casting the current tag into a new tag name.
|
static java.lang.String |
VAR_ATTR
write access to the variable
|
static java.lang.String |
VARREF_ATTR
read access to the variable
|
Constructor and Description |
---|
CookXmlLib() |
Modifier and Type | Method and Description |
---|---|
static SingleNSTagLibrary |
createTagLibrary() |
static SingleNSTagLibrary |
getSingletonTagLibrary()
Get the singleton instance of the CookXml tag library.
|
public static java.lang.String NAMESPACE
public static java.lang.String ID_ATTR
public static java.lang.String VAR_ATTR
public static java.lang.String TAG_ATTR
public static java.lang.String IDREF_ATTR
public static java.lang.String VARREF_ATTR
public static java.lang.String SETAS_ATTR
public static java.lang.String FUNC_ATTR
public static java.lang.String ADD_ATTR
public static SingleNSTagLibrary createTagLibrary()
public static SingleNSTagLibrary getSingletonTagLibrary()
This instance of library is not created until this functio is called.