Class AlgorithmIdentifierTypeImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.AlgorithmIdentifierTypeImpl
All Implemented Interfaces:
XMLObject, AlgorithmIdentifierType
Direct Known Subclasses:
MGFImpl, OtherSourceImpl, PRFImpl

public abstract class AlgorithmIdentifierTypeImpl
extends AbstractXMLObject
implements AlgorithmIdentifierType
Abstract implementation of AlgorithmIdentifierType.
  • Field Details

    • algorithm

      private String algorithm
      Algorithm attribute value.
    • parameters

      private XMLObject parameters
      Parameters child element.
  • Constructor Details

    • AlgorithmIdentifierTypeImpl

      protected AlgorithmIdentifierTypeImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - namespace URI
      elementLocalName - local name
      namespacePrefix - namespace prefix
  • Method Details

    • getAlgorithm

      @Nullable public String getAlgorithm()
      Gets the algorithm URI attribute.
      Specified by:
      getAlgorithm in interface AlgorithmIdentifierType
      Returns:
      the Algorithm attribute URI attribute string
    • setAlgorithm

      public void setAlgorithm​(@Nullable String newAlgorithm)
      Sets the algorithm URI attribute.
      Specified by:
      setAlgorithm in interface AlgorithmIdentifierType
      Parameters:
      newAlgorithm - the new Algorithm URI attribute string
    • getParameters

      @Nullable public XMLObject getParameters()
      Gets the Parameters child element.
      Specified by:
      getParameters in interface AlgorithmIdentifierType
      Returns:
      the Parameters child element
    • setParameters

      public void setParameters​(@Nullable XMLObject newParameters)
      Sets the Parameters child element.
      Specified by:
      setParameters in interface AlgorithmIdentifierType
      Parameters:
      newParameters - the new Parameters child element
    • getOrderedChildren

      @Nullable 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