|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.util.serializer.AttrList
public class AttrList
Represents a list of attributes. Each attribute is defined by
a QName and a value. Instances
of this class can be passed to
Receiver.startElement(QName, AttrList).
| Constructor Summary | |
|---|---|
AttrList()
|
|
| Method Summary | |
|---|---|
void |
addAttribute(QName name,
String value)
|
void |
addAttribute(QName name,
String value,
int attrType)
|
void |
addAttribute(QName name,
String value,
int attrType,
NodeId nodeId)
|
int |
getLength()
|
NodeId |
getNodeId(int pos)
|
QName |
getQName(int pos)
|
int |
getType(int pos)
|
String |
getValue(int pos)
|
String |
getValue(QName name)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttrList()
| Method Detail |
|---|
public void addAttribute(QName name,
String value)
public void addAttribute(QName name,
String value,
int attrType)
public void addAttribute(QName name,
String value,
int attrType,
NodeId nodeId)
public int getLength()
public QName getQName(int pos)
public NodeId getNodeId(int pos)
public String getValue(int pos)
public String getValue(QName name)
public int getType(int pos)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||