Interface UnmarshalNamespaceResolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getNamespaceURI​(java.lang.String prefix)
      Return the namespace URI for the specified prefix at the current scope.
      java.lang.String getPrefix​(java.lang.String namespaceURI)
      Return the prefix for the specified namesapce URI at the current scope.
      java.util.Set<java.lang.String> getPrefixes()
      Return the set of prefixes currently associated with a namespace URI.
      void pop​(java.lang.String prefix)
      Remove the last declared namespace URI binding for this prefix.
      void push​(java.lang.String prefix, java.lang.String namespaceURI)
      Associate a prefix and a namespace URI.
    • Method Detail

      • getNamespaceURI

        java.lang.String getNamespaceURI​(java.lang.String prefix)
        Return the namespace URI for the specified prefix at the current scope.
      • getPrefix

        java.lang.String getPrefix​(java.lang.String namespaceURI)
        Return the prefix for the specified namesapce URI at the current scope.
      • push

        void push​(java.lang.String prefix,
                  java.lang.String namespaceURI)
        Associate a prefix and a namespace URI. Note that this will override any previous associations for the specified prefix until a corresponding "pop" call is made for this prefix.
      • pop

        void pop​(java.lang.String prefix)
        Remove the last declared namespace URI binding for this prefix. Note this will reveal the previous namespace URI binding for this prefix if there was one.
      • getPrefixes

        java.util.Set<java.lang.String> getPrefixes()
        Return the set of prefixes currently associated with a namespace URI.