Interface NamespaceContextEx.Binding

  • Enclosing interface:
    NamespaceContextEx

    public static interface NamespaceContextEx.Binding
    Prefix to namespace URI binding.
    • Method Detail

      • getPrefix

        String getPrefix()
        Gets the prefix.

        The default namespace URI is represented by using an empty string "", not null.

        Returns:
        never null. String like "foo", "ns12", or "".
      • getNamespaceURI

        String getNamespaceURI()
        Gets the namespace URI.

        The empty namespace URI is represented by using an empty string "", not null.

        Returns:
        never null. String like "http://www.w3.org/XML/1998/namespace", "urn:oasis:names:specification:docbook:dtd:xml:4.1.2", or "".