Class AttributeStatementType

java.lang.Object
eu.europa.esig.saml.jaxb.assertion.StatementAbstractType
eu.europa.esig.saml.jaxb.assertion.AttributeStatementType

public class AttributeStatementType extends StatementAbstractType

Java class for AttributeStatementType complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="AttributeStatementType">
  <complexContent>
    <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType">
      <choice maxOccurs="unbounded">
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute"/>
        <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}EncryptedAttribute"/>
      </choice>
    </extension>
  </complexContent>
</complexType>
  • Field Details

    • attributeOrEncryptedAttribute

      protected List<Object> attributeOrEncryptedAttribute
  • Constructor Details

    • AttributeStatementType

      public AttributeStatementType()
  • Method Details

    • getAttributeOrEncryptedAttribute

      public List<Object> getAttributeOrEncryptedAttribute()
      Gets the value of the attributeOrEncryptedAttribute property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the attributeOrEncryptedAttribute property.

      For example, to add a new item, do as follows:

         getAttributeOrEncryptedAttribute().add(newItem);
      

      Objects of the following type(s) are allowed in the list AttributeType EncryptedElementType