Class Reference

java.lang.Object
org.apache.wss4j.common.token.Reference

public class Reference extends Object
Reference.
  • Field Details

    • TOKEN

      public static final QName TOKEN
  • Constructor Details

  • Method Details

    • addWSSENamespace

      public void addWSSENamespace()
      Add the WSSE Namespace to this reference. The namespace is not added by default for efficiency purposes, as the reference is embedded in a wsse:SecurityTokenReference.
    • getElement

      public Element getElement()
      Get the DOM element.
      Returns:
      the DOM element
    • getValueType

      public String getValueType()
      Get the ValueType attribute.
      Returns:
      the ValueType attribute
    • getURI

      public String getURI()
      Get the URI.
      Returns:
      the URI
    • setValueType

      public void setValueType(String valueType)
      Set the Value type.
      Parameters:
      valueType - the ValueType attribute to set
    • setURI

      public void setURI(String uri)
      Set the URI.
      Parameters:
      uri - the URI to set
    • toString

      public String toString()
      Return the string representation.
      Overrides:
      toString in class Object
      Returns:
      the string representation.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object