Class ReferenceImpl

All Implemented Interfaces:
AttributeExtensibleXMLObject, XMLObject, Reference, WSSecurityObject

public class ReferenceImpl extends AbstractWSSecurityObject implements Reference
ReferenceImpl.
  • Field Details

    • uri

      private String uri
      wsse:Reference/@URI attribute.
    • valueType

      private String valueType
      wsse:Reference/@ValueType attribute.
    • unknownAttributes

      private AttributeMap unknownAttributes
      Wildcard attributes.
  • Constructor Details

    • ReferenceImpl

      public ReferenceImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - namespace of the element
      elementLocalName - name of the element
      namespacePrefix - namespace prefix of the element
  • Method Details

    • getURI

      public String getURI()
      Returns the wsse:Reference/@URI attribute value.
      Specified by:
      getURI in interface Reference
      Returns:
      the URI attribute value.
    • setURI

      public void setURI(String newURI)
      Sets the wsse:Reference/@URI attribute value.
      Specified by:
      setURI in interface Reference
      Parameters:
      newURI - the URI to set.
    • getValueType

      public String getValueType()
      Returns the ValueType attribute URI value.
      Specified by:
      getValueType in interface Reference
      Returns:
      the ValueType attribute value or null.
    • setValueType

      public void setValueType(String newValueType)
      Sets the ValueType attribute URI value.
      Specified by:
      setValueType in interface Reference
      Parameters:
      newValueType - the ValueType attribute value.
    • getUnknownAttributes

      public AttributeMap getUnknownAttributes()
      Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.
      Specified by:
      getUnknownAttributes in interface AttributeExtensibleXMLObject
      Returns:
      a map of the attributes