Class DSSNamespace

java.lang.Object
eu.europa.esig.dss.definition.DSSNamespace
All Implemented Interfaces:
Serializable

public class DSSNamespace extends Object implements Serializable
Defines the namespaces
See Also:
  • Constructor Details

    • DSSNamespace

      public DSSNamespace(String uri, String prefix)
      Default constructor
      Parameters:
      uri - String
      prefix - String
  • Method Details

    • getUri

      public String getUri()
      Gets the namespace URI
      Returns:
      String
    • getPrefix

      public String getPrefix()
      Gets the namespace prefix
      Returns:
      String
    • isSameUri

      public boolean isSameUri(String paramUri)
      Checks if the given URI is the same as for the current DSSNamespace object
      Parameters:
      paramUri - String
      Returns:
      TRUE if the namespace URI matches, FALSE otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object