Class NamespaceContextMap

java.lang.Object
es.juntadeandalucia.afirma.client.util.NamespaceContextMap
All Implemented Interfaces:
NamespaceContext

public final class NamespaceContextMap extends Object implements NamespaceContext
  • Constructor Details

    • NamespaceContextMap

      public NamespaceContextMap(Map<String,String> prefixMappings)
      Constructor that takes a map of XML prefix-namespaceURI values. A defensive copy is made of the map. An IllegalArgumentException will be thrown if the map attempts to remap the standard prefixes defined in the NamespaceContext contract.
      Parameters:
      prefixMappings - a map of prefix:namespaceURI values
    • NamespaceContextMap

      public NamespaceContextMap(String... mappingPairs)
      Convenience constructor.
      Parameters:
      mappingPairs - pairs of prefix-namespaceURI values
  • Method Details