org.oddjob.arooa.xml
Class XMLArooaAttributes

java.lang.Object
  extended by org.oddjob.arooa.xml.XMLArooaAttributes
All Implemented Interfaces:
ArooaAttributes

public class XMLArooaAttributes
extends Object
implements ArooaAttributes


Constructor Summary
XMLArooaAttributes(String uri, Attributes attrs)
           
 
Method Summary
 String get(String name)
          The attribute value.
 String[] getAttributNames()
          Get all the names of the attributes.
 String remove(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLArooaAttributes

public XMLArooaAttributes(String uri,
                          Attributes attrs)
Method Detail

get

public String get(String name)
Description copied from interface: ArooaAttributes
The attribute value.

Specified by:
get in interface ArooaAttributes
Parameters:
name - The name of the attribute.
Returns:
The value, or null if it doesn't exist.

getAttributNames

public String[] getAttributNames()
Description copied from interface: ArooaAttributes
Get all the names of the attributes.

Specified by:
getAttributNames in interface ArooaAttributes
Returns:
The attribute names. Never null.

remove

public String remove(String name)