org.xmlpull.infoset.XmlNamespace 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;
/**
* 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();
}