org.oddjob.arooa.parsing
Class ArooaElement
java.lang.Object
org.oddjob.arooa.parsing.ArooaElement
- All Implemented Interfaces:
- Serializable
public class ArooaElement
- extends Object
- implements Serializable
Represent an element, which is an abstract of an XML element
but XML agnostic, so that an Arooa configuration could be anything,
not just XML.
- See Also:
- Serialized Form
- Author:
- rob
ArooaElement
public ArooaElement(URI uri,
String tag,
ArooaAttributes attributes)
ArooaElement
public ArooaElement(URI uri,
String tag)
ArooaElement
public ArooaElement(String tag)
ArooaElement
public ArooaElement(String tag,
ArooaAttributes attributes)
getTag
public String getTag()
getUri
public URI getUri()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
removeAttribute
public ArooaElement removeAttribute(String name)
addAttribute
public ArooaElement addAttribute(String name,
String value)
toString
public String toString()
- Overrides:
toString
in class Object
getAttributes
public ArooaAttributes getAttributes()