Class RetrievalMethodImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.impl.RetrievalMethodImpl
All Implemented Interfaces:
XMLObject, RetrievalMethod

public class RetrievalMethodImpl extends AbstractXMLObject implements RetrievalMethod
Concrete implementation of RetrievalMethod.
  • Field Details

    • uri

      @Nullable private String uri
      URI attribute value.
    • type

      @Nullable private String type
      Type attribute value.
    • transforms

      @Nullable private Transforms transforms
      Transforms attribute value.
  • Constructor Details

    • RetrievalMethodImpl

      protected RetrievalMethodImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getURI

      @Nullable public String getURI()
      Get the URI attribute value.
      Specified by:
      getURI in interface RetrievalMethod
      Returns:
      the URI attribute value
    • setURI

      public void setURI(@Nullable String newURI)
      Set the URI attribute value.
      Specified by:
      setURI in interface RetrievalMethod
      Parameters:
      newURI - the new URI attribute value
    • getType

      @Nullable public String getType()
      Set the Type attribute value.
      Specified by:
      getType in interface RetrievalMethod
      Returns:
      the Type attribute value
    • setType

      public void setType(@Nullable String newType)
      Set the Type attribute value.
      Specified by:
      setType in interface RetrievalMethod
      Parameters:
      newType - the new Type attribute value
    • getTransforms

      @Nullable public Transforms getTransforms()
      Get the Transforms child element.
      Specified by:
      getTransforms in interface RetrievalMethod
      Returns:
      the Transforms child element
    • setTransforms

      public void setTransforms(@Nullable Transforms newTransforms)
      Set the Transforms child element.
      Specified by:
      setTransforms in interface RetrievalMethod
      Parameters:
      newTransforms - the new Transforms child element
    • getOrderedChildren

      @Nullable @Unmodifiable @NotLive public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements