Class SignableSimpleXMLObject

All Implemented Interfaces:
AttributeExtensibleXMLObject, ElementExtensibleXMLObject, XMLObject, SignableXMLObject

public class SignableSimpleXMLObject extends AbstractSignableXMLObject implements ElementExtensibleXMLObject, AttributeExtensibleXMLObject
Simple XMLObject that can be used for testing
  • Field Details

  • Constructor Details

    • SignableSimpleXMLObject

      public SignableSimpleXMLObject(@Nullable String namspaceURI, @Nonnull String localName, @Nullable String namespacePrefix)
      Constructor
      Parameters:
      namspaceURI - ...
      localName - ...
      namespacePrefix - ...
  • Method Details

    • getId

      @Nullable public String getId()
      Gets the name attribute.
      Returns:
      the name attribute
    • setId

      public void setId(@Nullable String newId)
      Sets the name attribute.
      Parameters:
      newId - the name attribute
    • getValue

      @Nullable public String getValue()
      Gets the value of this object.
      Returns:
      the value of this object
    • setValue

      public void setValue(@Nullable String newValue)
      Sets the value of this object.
      Parameters:
      newValue - the value of this object
    • getEncryptedData

      @Nullable public EncryptedData getEncryptedData()
      Get the EncryptedData child element.
      Returns:
      the EncryptedData child element
    • setEncryptedData

      public void setEncryptedData(@Nullable EncryptedData newEncryptedData)
      Set the EncryptedData child element.
      Parameters:
      newEncryptedData - the new EncryptedData child element
    • getSimpleXMLObjects

      public List<SignableSimpleXMLObject> getSimpleXMLObjects()
      Gets the list of child SimpleXMLObjects.
      Returns:
      the list of child SimpleXMLObjects
    • getUnknownXMLObjects

      @Nonnull public List<XMLObject> getUnknownXMLObjects()
      Specified by:
      getUnknownXMLObjects in interface ElementExtensibleXMLObject
    • getUnknownXMLObjects

      @Nonnull public List<XMLObject> getUnknownXMLObjects(@Nonnull QName typeOrName)
      Specified by:
      getUnknownXMLObjects in interface ElementExtensibleXMLObject
    • getOrderedChildren

      @Nullable public List<XMLObject> getOrderedChildren()
      Specified by:
      getOrderedChildren in interface XMLObject
    • getUnknownAttributes

      @Nonnull public AttributeMap getUnknownAttributes()
      Specified by:
      getUnknownAttributes in interface AttributeExtensibleXMLObject