Package org.xmlpull.v1.builder
Interface XmlAttribute
-
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
XmlAttributeAdapter,XmlAttributeImpl
public interface XmlAttribute extends 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.- Version:
- $Revision: 1.6 $
- Author:
- Aleksander Slominski
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()Method cloneStringgetName()XML Infoset [local name] propertyXmlNamespacegetNamespace()Combination of XML Infoset [namespace name] and [prefix] propertiesStringgetNamespaceName()return XML Infoset [namespace name] property (namespaceName from getNamespace() or null if attribute has no namespaceXmlElementgetOwner()XML Infoset [owner element] propertyStringgetType()XML Infoset [attribute type]StringgetValue()XML Infoset [normalized value] propertybooleanisSpecified()XML Infoset [specified] flag
-
-
-
Method Detail
-
clone
Object clone() throws CloneNotSupportedException
Method clone- Returns:
- an Object
- Throws:
CloneNotSupportedException
-
getOwner
XmlElement getOwner()
XML Infoset [owner element] property
-
getNamespaceName
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
String getName()
XML Infoset [local name] property
-
getValue
String getValue()
XML Infoset [normalized value] property
-
getType
String getType()
XML Infoset [attribute type]
-
isSpecified
boolean isSpecified()
XML Infoset [specified] flag
-
-