Class Attribute

  • All Implemented Interfaces:
    XACMLRootElement

    public class Attribute
    extends Object
    implements XACMLRootElement

    Java class for AttributeType complex type.

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

     <complexType name="AttributeType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AttributeValue" maxOccurs="unbounded"/>
           </sequence>
           <attribute name="AttributeId" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="Issuer" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="IncludeInResult" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • attributeId

        protected String attributeId
      • issuer

        protected String issuer
      • includeInResult

        protected boolean includeInResult
    • Constructor Detail

      • Attribute

        public Attribute()
    • Method Detail

      • getAttributeValue

        public List<AttributeValue> getAttributeValue()
        Gets the value of the attributeValue 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 JAXB object. This is why there is not a set method for the attributeValue property.

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

            getAttributeValue().add(newItem);
         

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

      • getAttributeId

        public String getAttributeId()
        Gets the value of the attributeId property.
        Returns:
        possible object is String
      • setAttributeId

        public void setAttributeId​(String value)
        Sets the value of the attributeId property.
        Parameters:
        value - allowed object is String
      • getIssuer

        public String getIssuer()
        Gets the value of the issuer property.
        Returns:
        possible object is String
      • setIssuer

        public void setIssuer​(String value)
        Sets the value of the issuer property.
        Parameters:
        value - allowed object is String
      • isIncludeInResult

        public boolean isIncludeInResult()
        Gets the value of the includeInResult property.
      • setIncludeInResult

        public void setIncludeInResult​(boolean value)
        Sets the value of the includeInResult property.
      • toXML

        public String toXML()
        Default toXML Method to Marshal Object into XML.
        Specified by:
        toXML in interface XACMLRootElement
        Returns:
        String - Marshaled Results into XML String.