Class SaltImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.SaltImpl
All Implemented Interfaces:
XMLObject, Salt

public class SaltImpl
extends AbstractXMLObject
implements Salt
Concrete implementation of Salt.
  • Field Details

    • specified

      private Specified specified
      Specified child element value.
    • otherSource

      private OtherSource otherSource
      OtherSource child element value.
  • Constructor Details

    • SaltImpl

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

    • getSpecified

      @Nullable public Specified getSpecified()
      Get the Specified child element.
      Specified by:
      getSpecified in interface Salt
      Returns:
      the element
    • setSpecified

      public void setSpecified​(@Nullable Specified newSpecified)
      Set the Specified child element.
      Specified by:
      setSpecified in interface Salt
      Parameters:
      newSpecified - the element
    • getOtherSource

      @Nullable public OtherSource getOtherSource()
      Get the OtherSource child element.
      Specified by:
      getOtherSource in interface Salt
      Returns:
      the element
    • setOtherSource

      public void setOtherSource​(@Nullable OtherSource newOtherSource)
      Set the OtherSource child element.
      Specified by:
      setOtherSource in interface Salt
      Parameters:
      newOtherSource - value
    • getOrderedChildren

      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