org.xmlpull.v1.builder
Interface XmlNamespace

All Known Implementing Classes:
XmlNamespaceImpl

public interface XmlNamespace

Represents Namespace Information Item .


Method Summary
 java.lang.String getNamespaceName()
          Namespace name.
 java.lang.String getPrefix()
          Prefix can be null.
 

Method Detail

getPrefix

java.lang.String getPrefix()
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.


getNamespaceName

java.lang.String getNamespaceName()
Namespace name. Never null. Only allowed to be empty string if prefix is also empty string (used to undeclare default namespace)