All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmlpull.infoset.XmlAttribute Maven / Gradle / Ivy

Go to download

XML Pull parser library developed by Extreme Computing Lab, Indian University

There is a newer version: 1.2.8
Show newest version
/* -*-             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();
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy