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>
Modifier and Type | Field and Description |
---|---|
protected String |
attributeId |
protected List<AttributeValue> |
attributeValue |
protected boolean |
includeInResult |
protected String |
issuer |
XACML3_NAMESPACE
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
String |
getAttributeId()
Gets the value of the attributeId property.
|
List<AttributeValue> |
getAttributeValue()
Gets the value of the attributeValue property.
|
String |
getIssuer()
Gets the value of the issuer property.
|
boolean |
isIncludeInResult()
Gets the value of the includeInResult property.
|
void |
setAttributeId(String value)
Sets the value of the attributeId property.
|
void |
setIncludeInResult(boolean value)
Sets the value of the includeInResult property.
|
void |
setIssuer(String value)
Sets the value of the issuer property.
|
String |
toXML()
Default toXML Method to Marshal Object into XML.
|
protected List<AttributeValue> attributeValue
protected String attributeId
protected String issuer
protected boolean includeInResult
public List<AttributeValue> getAttributeValue()
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
public String getAttributeId()
String
public void setAttributeId(String value)
value
- allowed object is
String
public String getIssuer()
String
public void setIssuer(String value)
value
- allowed object is
String
public boolean isIncludeInResult()
public void setIncludeInResult(boolean value)
public String toXML()
toXML
in interface XACMLRootElement
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.