org.jscience.ml.gml.dom
Class AttributeImpl

java.lang.Object
  extended by org.jscience.ml.gml.dom.AttributeImpl
All Implemented Interfaces:
Attribute, XMLDescribable

public class AttributeImpl
extends java.lang.Object
implements Attribute

Encapsulates an XML attribute. Attributes are treated as string values.


Constructor Summary
AttributeImpl(GMLConstruct owner, org.w3c.dom.Attr domAttr)
           
 
Method Summary
 org.w3c.dom.Attr getDOMAttr()
          DOCUMENT ME!
 GMLConstruct getOwner()
          Returns the GML construct that owns this XML attribute.
 java.lang.String getValue()
          Returns the value of this attribute.
 XMLDescriptor getXMLDescriptor()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeImpl

public AttributeImpl(GMLConstruct owner,
                     org.w3c.dom.Attr domAttr)
Method Detail

getXMLDescriptor

public XMLDescriptor getXMLDescriptor()
DOCUMENT ME!

Specified by:
getXMLDescriptor in interface XMLDescribable
Returns:
DOCUMENT ME!

getOwner

public GMLConstruct getOwner()
Returns the GML construct that owns this XML attribute.

Specified by:
getOwner in interface Attribute
Returns:
DOCUMENT ME!

getDOMAttr

public org.w3c.dom.Attr getDOMAttr()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getValue

public java.lang.String getValue()
Returns the value of this attribute.

Specified by:
getValue in interface Attribute
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!