Class TransformImpl

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

public class TransformImpl
extends AbstractXMLObject
implements Transform
Concrete implementation of Transform.
  • Field Details

  • Constructor Details

    • TransformImpl

      protected TransformImpl​(String namespaceURI, String elementLocalName, 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

    • getAlgorithm

      public String getAlgorithm()
      Get the Algorithm URI attribute value.
      Specified by:
      getAlgorithm in interface Transform
      Returns:
      the Algorithm URI attribute value
    • setAlgorithm

      public void setAlgorithm​(String newAlgorithm)
      Set the Algorithm URI attribute value.
      Specified by:
      setAlgorithm in interface Transform
      Parameters:
      newAlgorithm - the new Algorithm URI attribute value
    • getAllChildren

      public List<XMLObject> getAllChildren()
      Gets the ordered list of all XMLObject child elements of this element.
      Specified by:
      getAllChildren in interface Transform
      Returns:
      list of XMLObject children
    • getXMLObjects

      public List<XMLObject> getXMLObjects​(QName typeOrName)
      Get the list of XMLObject children that match a particular QName.
      Specified by:
      getXMLObjects in interface Transform
      Parameters:
      typeOrName - the QName of the statements to return
      Returns:
      the list of XMLObject children that match the given QName
    • getXPaths

      public List<XPath> getXPaths()
      Get the list of XPath child elements.
      Specified by:
      getXPaths in interface Transform
      Returns:
      list of XPath child elements
    • 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