org.xmlpull.v1.builder.impl
Class XmlAttributeImpl

java.lang.Object
  extended by org.xmlpull.v1.builder.impl.XmlAttributeImpl
All Implemented Interfaces:
java.lang.Cloneable, XmlAttribute

public class XmlAttributeImpl
extends java.lang.Object
implements XmlAttribute

Simple implementation.


Method Summary
 java.lang.Object clone()
          Method clone
 boolean equals(java.lang.Object other)
           
 java.lang.String getName()
          XML Infoset [local name] property
 XmlNamespace getNamespace()
          Combination of XML Infoset [namespace name] and [prefix] properties
 java.lang.String getNamespaceName()
          return XML Infoset [namespace name] property (namespaceName from getNamespace() or null if attribute has no namespace
 XmlElement getOwner()
          XML Infoset [owner element] property
 java.lang.String getType()
          XML Infoset [attribute type]
 java.lang.String getValue()
          XML Infoset [normalized value] property
 boolean isSpecified()
          XML Infoset [specified] flag
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Description copied from interface: XmlAttribute
Method clone

Specified by:
clone in interface XmlAttribute
Overrides:
clone in class java.lang.Object
Returns:
an Object
Throws:
java.lang.CloneNotSupportedException

getOwner

public XmlElement getOwner()
Description copied from interface: XmlAttribute
XML Infoset [owner element] property

Specified by:
getOwner in interface XmlAttribute

getNamespace

public XmlNamespace getNamespace()
Description copied from interface: XmlAttribute
Combination of XML Infoset [namespace name] and [prefix] properties

Specified by:
getNamespace in interface XmlAttribute

getNamespaceName

public java.lang.String getNamespaceName()
Description copied from interface: XmlAttribute
return XML Infoset [namespace name] property (namespaceName from getNamespace() or null if attribute has no namespace

Specified by:
getNamespaceName in interface XmlAttribute

getName

public java.lang.String getName()
Description copied from interface: XmlAttribute
XML Infoset [local name] property

Specified by:
getName in interface XmlAttribute

getValue

public java.lang.String getValue()
Description copied from interface: XmlAttribute
XML Infoset [normalized value] property

Specified by:
getValue in interface XmlAttribute

getType

public java.lang.String getType()
Description copied from interface: XmlAttribute
XML Infoset [attribute type]

Specified by:
getType in interface XmlAttribute

isSpecified

public boolean isSpecified()
Description copied from interface: XmlAttribute
XML Infoset [specified] flag

Specified by:
isSpecified in interface XmlAttribute

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object