This object is a container for an XML element, and exposes an interface to it to Simkin The class implements methods from the Executable interface
This object is a container for an XML element, and exposes an interface to it to Simkin The class implements methods from the Executable interface. The methods getValue, setValue and method all search for matching element tags within the XML document. Only the first matching tag is used. The class uses the Xerces library to access XML documents
skXMLElementObject(const skString& location, DOM_Element elem)
elem - - the element to be stored ~skXMLElementObject()
int executableType() const
int intValue() const
float floatValue() const
bool boolValue() const
char charValue() const
skString strValue() const
bool setValue(const skString& s, const skString& attribute, const skRValue& return_value)
attribute - - the name of the attribute to set (null to set text for the element)
return_value - - the RValue to receive the value
bool getValue(const skString& s, const skString& attribute, skRValue& return_value)
attrib - - the attribute name to retrieve
return_value - - the RValue to containing the value to be set
bool method(const skString& name, skRValueArray& args, skRValue& ret)
args - an array of arguments to the method
ret - the object to receive the result of the method call
bool equals(skExecutable * o) const
void copyItemsInto(DOM_Element other)
DOM_Element getElement()
static skString getData(DOM_Element element)
static void setData(DOM_Element element, const skString& data)
data - the data to be set static DOM_Element findChild(DOM_Element parent, const skString& tagname)
tagname - the tag name of the element
static DOM_Element findChild(DOM_Element parent, const skString& tagname, const skString& attribute, const skString& value)
tagname - the tag name of the element
attribute - name of the attribute
value - value of the named attribute
void setAttribute(skString name, const skString& value)
skString getAttribute(const skString& name)
static skString toString(DOMString str)
static DOMString fromString(const skString& str)
void setElement(DOM_Element element)
skString m_ScriptLocation
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de