Class Attributes

  • All Implemented Interfaces:
    XACMLRootElement

    public class Attributes
    extends Object
    implements XACMLRootElement

    Java class for AttributesType complex type.

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

     <complexType name="AttributesType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Content" minOccurs="0"/>
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Attribute" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="Category" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute ref="{http://www.w3.org/XML/1998/namespace}id"/>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Attributes

        public Attributes()
    • Method Detail

      • getContent

        public Content getContent()
        Gets the value of the content property.
        Returns:
        possible object is Content
      • setContent

        public void setContent​(Content value)
        Sets the value of the content property.
        Parameters:
        value - allowed object is Content
      • getAttribute

        public List<Attribute> getAttribute()
        Gets the value of the attribute 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 attribute property.

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

            getAttribute().add(newItem);
         

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

      • getCategory

        public String getCategory()
        Gets the value of the category property.
        Returns:
        possible object is String
      • setCategory

        public void setCategory​(String value)
        Sets the value of the category property.
        Parameters:
        value - allowed object is String
      • getId

        public String getId()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setId

        public void setId​(String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • 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.