org.xmlpull.infoset.XmlAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xpp5 Show documentation
Show all versions of xpp5 Show documentation
XML Pull parser library developed by Extreme Computing Lab, Indian University
/* -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- //------100-columns-wide------>|*/
//for license please see accompanying LICENSE.txt file (available also at http://www.xmlpull.org/)
package org.xmlpull.infoset;
/**
* 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.1 $
* @author Aleksander Slominski
*/
public interface XmlAttribute extends Cloneable
{
/**
* Method clone
*
* @return an Object
*
* @exception CloneNotSupportedException
*
*/
public Object clone() throws CloneNotSupportedException;
/**
* XML Infoset [owner element] property
*/
public XmlElement getOwner();
//public XmlElement setOwner(XmlElement newOwner);
//public String getPrefix();
/**
* return XML Infoset [namespace name] property (namespaceName from getNamespace()
* or null if attribute has no namespace
*/
public String getNamespaceName();
/**
* Combination of XML Infoset [namespace name] and [prefix] properties
*/
public XmlNamespace getNamespace();
/**
* XML Infoset [local name] property
*/
public String getName();
/**
* XML Infoset [normalized value] property
*/
public String getValue();
/**
* XML Infoset [attribute type]
*/
public String getType();
/**
* XML Infoset [specified] flag
*/
public boolean isSpecified();
}