Package net.shibboleth.idp.attribute
Class XMLObjectAttributeValue
java.lang.Object
net.shibboleth.idp.attribute.XMLObjectAttributeValue
- All Implemented Interfaces:
Comparable<IdPAttributeValue>
,IdPAttributeValue
public final class XMLObjectAttributeValue extends Object implements IdPAttributeValue
A
XMLObjectAttributeValue
value for an IdPAttribute
.-
Field Summary
-
Constructor Summary
Constructors Constructor Description XMLObjectAttributeValue(XMLObject attributeValue)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
String
getDisplayValue()
Get a displayable form of the value for user interfaces and similar purposes.Object
getNativeValue()
Get the native representation of the value of this attribute.XMLObject
getValue()
Return the value.int
hashCode()
String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.shibboleth.idp.attribute.IdPAttributeValue
compareTo
-
Field Details
-
LOG
private static final org.slf4j.Logger LOGLog. -
value
Value of the attribute.
-
-
Constructor Details
-
XMLObjectAttributeValue
public XMLObjectAttributeValue(@Nonnull @ParameterName(name="attributeValue") XMLObject attributeValue)Constructor.- Parameters:
attributeValue
- value of the attribute
-
-
Method Details
-
getNativeValue
Get the native representation of the value of this attribute.- Specified by:
getNativeValue
in interfaceIdPAttributeValue
- Returns:
- the attribute value in native format.
-
getValue
Return the value.- Returns:
- the value
-
getDisplayValue
Get a displayable form of the value for user interfaces and similar purposes.- Specified by:
getDisplayValue
in interfaceIdPAttributeValue
- Returns:
- a displayable value
-
equals
-
hashCode
public int hashCode() -
toString
-