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.
getPrefix
java.lang.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
java.lang.String getUri()
- Returns:
- the URI identifiying the XML Namespace.
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.