Class Attributes
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.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 Summary
Constructors Constructor Description Attributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Attribute>getAttribute()Gets the value of the attribute property.StringgetCategory()Gets the value of the category property.ContentgetContent()Gets the value of the content property.StringgetId()Gets the value of the id property.voidsetCategory(String value)Sets the value of the category property.voidsetContent(Content value)Sets the value of the content property.voidsetId(String value)Sets the value of the id property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
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 isContent
-
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
setmethod 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 isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-