Advanced Customization > Info*Engine User’s Guide > Server Access Kit > About the Server Access Kit > Common Methods
  
Common Methods
The Group, Element, and Att classes all support a variety of methods for inspecting and managing their content. For details on these methods, see the Javadoc. These classes commonly include the following methods:
Common Group Methods
getAttributeValue
Retrieves the value of a specific attribute (Att) of a specific Element object contained in the Group.
addElement
Adds a new Element object to the Group.
getElementCount
Returns the number of Element objects contained in the Group.
getElements
Returns all of the Element objects of the Group as an enumeration.
getElementAt
Retrieves a specific Element object from the Group by index.
removeElementAt
Removes a specific Element object from the Group by index.
toXML
Renders the entire Group to XML and returns the result as a string or writes it to an output stream.
Common Element Methods
addAtt
Adds a new attribute (Att) to the Element, or adds a new value to an existing attribute of the Element.
getAtt
Retrieves a specific attribute (Att) object from the Element by name.
getAtts
Returns all attribute objects of the Element as an enumeration.
getValue
Retrieves the value of a specific attribute (Att) of the Element.
getValues
Retrieves all values of a specific attribute (Att) of the Element as a vector.
removeAtt
Removes a specific attribute (Att) from the Element by name.
toXML
Renders the Element to XML and writes it to an output stream.
Common Att Methods
addValue
Adds a value to the attribute.
getValue
Retrieves the value of the attribute.
getValues
Retrieves all values of the attribute as an enumeration.
toXML
Renders the attribute to XML and writes it to an output stream.