class Atts extends Object
Constructor and Description |
---|
Atts()
Creates a new Atts object.
|
Atts(int size)
Creates a new Atts object.
|
Modifier and Type | Method and Description |
---|---|
void |
addAtt(Att att)
Adds an attribute.
|
Att |
getAtt(String qName)
Gets the attribute with the specified QName.
|
Att |
getAtt(String namespace,
String localName)
Gets the attribute with the specified namespace and local name.
|
Iterator<Att> |
iterator()
Get an iterator on the attributes.
|
Att |
removeAtt(String qName)
Removes the attribute with the specified QName and returns it.
|
Att |
removeAtt(String namespace,
String localName)
Removes the attribute with the specified namespace and local
name and returns it.
|
int |
size()
Returns the number of attributes contained in this object.
|
String |
toString()
Produces a String-representation of this object.
|
Atts()
Atts(int size)
size
- The initial size of the array for storing attributes.public void addAtt(Att att)
att
- attributepublic Iterator<Att> iterator()
public Att getAtt(String qName)
qName
- The QName of an attribute.public Att getAtt(String namespace, String localName)
namespace
- The namespace of an attribute.localName
- The local name of an attribute.public Att removeAtt(String qName)
qName
- The QName of an attribute.public Att removeAtt(String namespace, String localName)
namespace
- The namespace of an attribute.localName
- The local name of an attribute.public int size()
EDB Working Group at Tue Jun 10 17:08:59 JST 2025