com.waveset.object
Class GenericAttribute

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.GenericAttribute
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject

public class GenericAttribute
extends AbstractXmlObject


Field Summary
static java.lang.String ATTR_ATTR
           
static java.lang.String code_id
           
static java.lang.String ELEMENT
          The name of the XML element used when serializing this object.
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
GenericAttribute()
           
GenericAttribute(org.w3c.dom.Element e)
          XML constructor required by the XmlObject interface.
GenericAttribute(GenericObject o)
           
GenericAttribute(java.lang.String xml)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 GenericObject get()
           
 java.lang.String getElementName()
          Return the element name.
 int hashCode()
           
 java.lang.String toString()
           
 void toXml(java.lang.StringBuffer b, int indent)
          Required by the XmlObject interface.
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

ATTR_ATTR

public static final java.lang.String ATTR_ATTR
See Also:
Constant Field Values

ELEMENT

public static final java.lang.String ELEMENT
The name of the XML element used when serializing this object.

See Also:
Constant Field Values
Constructor Detail

GenericAttribute

public GenericAttribute()

GenericAttribute

public GenericAttribute(GenericObject o)

GenericAttribute

public GenericAttribute(java.lang.String xml)
                 throws WavesetException

GenericAttribute

public GenericAttribute(org.w3c.dom.Element e)
                 throws WavesetException
XML constructor required by the XmlObject interface.

Method Detail

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getElementName

public java.lang.String getElementName()
Description copied from class: AbstractXmlObject
Return the element name.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject

get

public GenericObject get()

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Required by the XmlObject interface.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject

toString

public java.lang.String toString()