Interface NamespaceName

  • All Known Implementing Classes:
    OdfDocumentNamespace, OdfNamespace, OdfPackageNamespace

    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 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.