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>
Modifier and Type | Field and Description |
---|---|
protected List<Attribute> |
attribute |
protected String |
category |
protected Content |
content |
protected String |
id |
XACML3_NAMESPACE
Constructor and Description |
---|
Attributes() |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getAttribute()
Gets the value of the attribute property.
|
String |
getCategory()
Gets the value of the category property.
|
Content |
getContent()
Gets the value of the content property.
|
String |
getId()
Gets the value of the id property.
|
void |
setCategory(String value)
Sets the value of the category property.
|
void |
setContent(Content value)
Sets the value of the content property.
|
void |
setId(String value)
Sets the value of the id property.
|
String |
toXML()
Default toXML Method to Marshal Object into XML.
|
protected Content content
protected String category
protected String id
public Content getContent()
Content
public void setContent(Content value)
value
- allowed object is
Content
public List<Attribute> getAttribute()
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
public String getCategory()
String
public void setCategory(String value)
value
- allowed object is
String
public void setId(String value)
value
- allowed object is
String
public String toXML()
toXML
in interface XACMLRootElement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.