org.exist.util.serializer
Class AttrList

java.lang.Object
  extended by org.exist.util.serializer.AttrList

public class AttrList
extends Object

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).

Author:
wolf

Constructor Summary
AttrList()
           
 
Method Summary
 void addAttribute(QName name, String value)
           
 void addAttribute(QName name, String value, int attrType)
           
 int getLength()
           
 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

AttrList

public AttrList()
Method Detail

addAttribute

public void addAttribute(QName name,
                         String value)

addAttribute

public void addAttribute(QName name,
                         String value,
                         int attrType)

getLength

public int getLength()

getQName

public QName getQName(int pos)

getValue

public String getValue(int pos)

getValue

public String getValue(QName name)

getType

public int getType(int pos)


Copyright (C) Wolfgang Meier. All rights reserved.