Class Target

  • All Implemented Interfaces:
    XACMLRootElement

    public class Target
    extends Object
    implements XACMLRootElement

    Java class for TargetType complex type.

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

     <complexType name="TargetType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence maxOccurs="unbounded" minOccurs="0">
             <element ref="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}AnyOf"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Target

        public Target()
    • Method Detail

      • getAnyOf

        public List<AnyOf> getAnyOf()
        Gets the value of the anyOf 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 anyOf property.

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

            getAnyOf().add(newItem);
         

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

      • 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.