CookXml Reference: CookXml Tag Library


 

 

Support This Project

 

stats counter

 

Logo SourceForge.net Logo IntelliJ IDEA

CookXml tag library ( cookxml.cookxml.CookXmlLib ) uses namespace "http://cookxml.sf.net/". It is installed in the singleton instance of the CookXml Common tag library ( cookxml.common.CommonLib ).

This tag library only contains the following attributes.

Attribute Description
add This attribute is used to indicate whether or not this object should be added to the parent. The attribute value can be either "true" or "false".
func This attribute is a way to call a specific function directly.
id This attribute serves many purposes. The id value should be unique within an XML document. For each element that has an id, it can be accessed later by an idref tag, or be included any time by an include tag.
idref This attribute is to obtain an object using the id. idref and varref are mutually exclusive attributes and should not be used together.
setas This attribute basically tell CookXml to instead of adding this child object to the parent using the parent's adder, call the parent's setter for the attribute name specified by the value.
tag This attribute renames the current element to the tag name specified. Sometimes, for elements such as varref only loads the object, but doesn't load the desired set of adders and setters for the object. Rather, they rely on this attribute to be set in order to load them.
var This attribute is to instruct CookXml to assign this object to the variable specified, in addition to call the adders/setters this element may have.
varref This attribute is to obtain an object using the varriable reference. idref, varref, and ctor are mutually exclusive attributes and should not be used together.

(c) Copyright 2004-2007 Heng Yuan. All rights reserved.

Valid XHTML 1.0! Valid CSS!