Class XmlNamespaceImpl

    • Constructor Detail

      • XmlNamespaceImpl

        XmlNamespaceImpl​(String namespaceName)
      • XmlNamespaceImpl

        XmlNamespaceImpl​(String prefix,
                         String namespaceName)
    • Method Detail

      • getPrefix

        public String getPrefix()
        Description copied from interface: XmlNamespace
        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.
        Specified by:
        getPrefix in interface XmlNamespace
      • getNamespaceName

        public String getNamespaceName()
        Description copied from interface: XmlNamespace
        Namespace name. Never null. Only allowed to be empty string if prefix is also empty string (used to undeclare default namespace)
        Specified by:
        getNamespaceName in interface XmlNamespace