org.odftoolkit.odfdom.pkg
Interface NamespaceName

All Known Implementing Classes:
OdfDocumentNamespace, OdfNamespace

public interface NamespaceName

The NamespaceName interface is being used to provide an easy way to define Namespaces in a higher layer (e.g. via enum as OdfDocumentNamespace) and access them from a lower layer e.g. constructors of org.odftoolkit.odfdom.pkg.OdfNamespace.


Method Summary
 String getPrefix()
           
 String getUri()
           
 

Method Detail

getPrefix

String getPrefix()
Returns:
the prefix currently related to XML Namespace. Note: Even in a single XML file, a user might assign different prefixes to a XML Namespace, different NamespaceNames might exist.

getUri

String getUri()
Returns:
the URI identifiying the XML Namespace.


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.