void | addAttribute(String namespaceUri, String localName, String rawName, String value) - parameters modeled after SAX2 attribute approach
|
void | addAttribute(String namespaceUri, String localName, String rawName, String value, boolean isNamespaceDeclaration) -
Parameter isNamespaceDeclaration if true indicates that attribute is related
to namespace management and may be ignored by normal processing
NOTE: this class has no support for resolving namespaces and
such support may be added later (see XmlNode and namespaces methids)
|
void | ensureAttributesCapacity(int minCapacity) - Make sure that there is enough space to keep size attributes.
|
boolean | equals(Object o)
|
int | getAttributeCount() - Return number of attributes.
|
String | getAttributeLocalName(int index) - Get localName of attribute number index (starts from 0)
if namespaces enabled or just attribute name if namespaces disabled.
|
String | getAttributeNamespaceUri(int index) - Get uri of attribute number index (starts from 0).
|
String | getAttributePrefix(int index) - Returns the prefix of the specified attribute
Returns null if invalid index or if element has no prefix.
|
String | getAttributeRawName(int index) - Return qName of atrribute number index (starts from 0)
|
String | getAttributeValue(int index) - Return value of attribute number index.
|
String | getAttributeValueFromName(String uri, String localName) - Return value of attribute named (uri, localName) or null
of no such attribute found.
|
String | getAttributeValueFromRawName(String qName) - Return value of attribute named qName or null
of no such attribute found.
|
boolean | isAttributeNamespaceDeclaration(int index) - Return true if attribute at index is namespace declaration
such as xmlns='...' or xmlns:prefix='...'
|
protected void | printFields(StringBuffer buf) - Print into StringBuffer element name
|
boolean | removeAttributeByName(String uri, String localName) - This method tries to remove attribute identified by namespace uti and local name.
|
boolean | removeAttributeByRawName(String rawName) - This method tries to remove attribute identified by raw name.
|
void | removeAttributes() - remove all atribute
|
void | resetStartTag() - Reinitialize start tag content to none
|
String | toString() - Return string representation of start tag including name
and list of attributes.
|