name: XMLToken

synopsis:

 
g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_mmedia.a

#include <XMLToken.h>

XMLToken();
boolean init(TYPE type, String value, Vector< Pair > attrib_array, long token_depth = 0, Integral::CMODE ctype = Integral::RESET);

boolean isA(String value, TYPE type); 
String getAttributeValue(const String arg_name) const;
String toXML() const;

quick start:

XMLToken token;
token.init(L"xml_tag", START_TAG);
token.addAttribute("attrib_name_1", "attrib_val_1");
token.addAttribute("attrib_name_2", "attrib_val_2");
token.removeAttribute("attrib_name_1");
Console::put(token.toXML());
description:

The XMLToken class is a data structure for storing and manipulating the smallest units of XML code: start tags ( <tag> ), end tags( </tag> ), attributes belonging to those tags (<tag attribute = 'value'> )and character data stored between those tags ( <tag> character data </tag>).

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

protected methods:

examples: