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

org.xmlpull.infoset.XmlNamespace 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;


/**
 * Represents
 * Namespace Information Item
 * .
 *
 * @version $Revision: 1.1 $
 * @author Aleksander Slominski
 */
public interface XmlNamespace
{
    /**
     * [Prefix] can be null.
     * In this case it will be looked up from XML tree and used if available
     * otherwise it will be automatically created only for serializaiton.
     * 
TODO: If prefix is empty string it will be used to indicate default namespace. */ public String getPrefix(); /** * [Namespace name] is never null. * Only allowed to be empty string if prefix is also empty string * (used to undeclare default namespace) */ public String getName(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy