Class AttributeSelector
- java.lang.Object
-
- com.sun.identity.entitlement.xacml3.core.Expression
-
- com.sun.identity.entitlement.xacml3.core.AttributeSelector
-
- All Implemented Interfaces:
XACMLRootElement
public class AttributeSelector extends Expression implements XACMLRootElement
Java class for AttributeSelectorType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AttributeSelectorType"> <complexContent> <extension base="{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}ExpressionType"> <attribute name="Category" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="ContextSelectorId" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="Path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="DataType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="MustBePresent" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcategoryprotected StringcontextSelectorIdprotected StringdataTypeprotected booleanmustBePresentprotected Stringpath-
Fields inherited from interface com.sun.identity.entitlement.xacml3.core.XACMLRootElement
XACML3_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description AttributeSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()Gets the value of the category property.StringgetContextSelectorId()Gets the value of the contextSelectorId property.StringgetDataType()Gets the value of the dataType property.StringgetPath()Gets the value of the path property.booleanisMustBePresent()Gets the value of the mustBePresent property.voidsetCategory(String value)Sets the value of the category property.voidsetContextSelectorId(String value)Sets the value of the contextSelectorId property.voidsetDataType(String value)Sets the value of the dataType property.voidsetMustBePresent(boolean value)Sets the value of the mustBePresent property.voidsetPath(String value)Sets the value of the path property.StringtoXML()Default toXML Method to Marshal Object into XML.
-
-
-
Method Detail
-
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
-
getContextSelectorId
public String getContextSelectorId()
Gets the value of the contextSelectorId property.- Returns:
- possible object is
String
-
setContextSelectorId
public void setContextSelectorId(String value)
Sets the value of the contextSelectorId property.- Parameters:
value- allowed object isString
-
getPath
public String getPath()
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Sets the value of the path property.- Parameters:
value- allowed object isString
-
getDataType
public String getDataType()
Gets the value of the dataType property.- Returns:
- possible object is
String
-
setDataType
public void setDataType(String value)
Sets the value of the dataType property.- Parameters:
value- allowed object isString
-
isMustBePresent
public boolean isMustBePresent()
Gets the value of the mustBePresent property.
-
setMustBePresent
public void setMustBePresent(boolean value)
Sets the value of the mustBePresent property.
-
toXML
public String toXML()
Default toXML Method to Marshal Object into XML.- Specified by:
toXMLin interfaceXACMLRootElement- Returns:
- String - Marshaled Results into XML String.
-
-