org.xmlpull.v1.builder
Interface XmlAttribute

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
XmlAttributeAdapter, XmlAttributeImpl

public interface XmlAttribute
extends java.lang.Cloneable

This is immutable value object that represents Attribute Information Item with exception of references property. Note: namespace and prefix properties are folded into XmlNamespace value object.


Method Summary
 java.lang.Object clone()
          Method clone
 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
 

Method Detail

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Method clone

Returns:
an Object
Throws:
java.lang.CloneNotSupportedException

getOwner

XmlElement getOwner()
XML Infoset [owner element] property


getNamespaceName

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


getNamespace

XmlNamespace getNamespace()
Combination of XML Infoset [namespace name] and [prefix] properties


getName

java.lang.String getName()
XML Infoset [local name] property


getValue

java.lang.String getValue()
XML Infoset [normalized value] property


getType

java.lang.String getType()
XML Infoset [attribute type]


isSpecified

boolean isSpecified()
XML Infoset [specified] flag