|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
util
Class XMLTools.AttributeList
util.XMLTools.AttributeList
- Enclosing class:
- XMLTools
- public static class XMLTools.AttributeList
The implementation of com.sun.star.xml.sax.XAttributeList
where attributes and their values can be added.
Constructor Summary | |
XMLTools.AttributeList()
Creates a class instance. |
|
XMLTools.AttributeList(PrintWriter log)
Constructs a list which will report to log
specified about each XDocumentHandler method
call. |
|
XMLTools.AttributeList(com.sun.star.xml.sax.XAttributeList list)
|
Method Summary | |
void |
add(String name,
String value)
Adds an attribute with value specified. |
void |
add(String name,
String type,
String value)
Adds an attribute with type and value specified. |
void |
clear()
Clears all attributes added before. |
short |
getLength()
XAttributeList methods |
String |
getNameByIndex(short idx)
|
String |
getTypeByIndex(short idx)
|
String |
getTypeByName(String name)
|
String |
getValueByIndex(short idx)
|
String |
getValueByName(String name)
|
Constructor Detail |
XMLTools.AttributeList
public XMLTools.AttributeList()
- Creates a class instance.
XMLTools.AttributeList
public XMLTools.AttributeList(PrintWriter log)
- Constructs a list which will report to
log
specified about eachXDocumentHandler
method call.
XMLTools.AttributeList
public XMLTools.AttributeList(com.sun.star.xml.sax.XAttributeList list)
Method Detail |
add
public void add(String name, String type, String value)
- Adds an attribute with type and value specified.
- Parameters:
name
- The attribute name.type
- Value type (usually 'CDATA' used).value
- Attribute value.
add
public void add(String name, String value)
- Adds an attribute with value specified. As a type of
value 'CDATA' string specified.
- Parameters:
name
- The attribute name.value
- Attribute value.
clear
public void clear()
- Clears all attributes added before.
getLength
public short getLength()
- XAttributeList methods
getNameByIndex
public String getNameByIndex(short idx)
getTypeByIndex
public String getTypeByIndex(short idx)
getTypeByName
public String getTypeByName(String name)
getValueByIndex
public String getValueByIndex(short idx)
getValueByName
public String getValueByName(String name)
|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |