com.simonstl.midp.xml
Class TAMElement

java.lang.Object
  |
  +--com.simonstl.midp.xml.TAMName
        |
        +--com.simonstl.midp.xml.TAMElement

public class TAMElement
extends TAMName

A simple extension of TAMName which can hold and manipulate attributes as well as keep track if the element is empty.

Author:
simonstl

Field Summary
protected  TAMAttributesImpl attributes
           
protected  boolean isEmpty
           
 
Fields inherited from class com.simonstl.midp.xml.TAMName
name, prefix, uri
 
Constructor Summary
TAMElement()
          Creates a new instance of TAMElement
 
Method Summary
 void addAttribute(TAMAttribute att)
           
 TamAttributes getAttributes()
           
 boolean getIsEmpty()
           
 void setAttUris(TAMNSContext namespaces)
           
 void setIsEmpty(boolean _empty)
           
 
Methods inherited from class com.simonstl.midp.xml.TAMName
getLocalName, getPrefix, getQName, getUri, setLocalName, setPrefix, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected TAMAttributesImpl attributes

isEmpty

protected boolean isEmpty
Constructor Detail

TAMElement

public TAMElement()
Creates a new instance of TAMElement
Method Detail

addAttribute

public void addAttribute(TAMAttribute att)

setAttUris

public void setAttUris(TAMNSContext namespaces)

getAttributes

public TamAttributes getAttributes()

setIsEmpty

public void setIsEmpty(boolean _empty)

getIsEmpty

public boolean getIsEmpty()