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
AXMLObjectAttributeValue
value for anIdPAttribute
.
-
-
Constructor Summary
Constructors Constructor Description XMLObjectAttributeValue(XMLObject attributeValue)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods 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 Detail
-
LOG
private static final org.slf4j.Logger LOG
Log.
-
value
private final XMLObject value
Value of the attribute.
-
-
Constructor Detail
-
XMLObjectAttributeValue
public XMLObjectAttributeValue(@Nonnull @ParameterName(name="attributeValue") XMLObject attributeValue)
Constructor.- Parameters:
attributeValue
- value of the attribute
-
-
Method Detail
-
getNativeValue
public Object getNativeValue()
Get the native representation of the value of this attribute.- Specified by:
getNativeValue
in interfaceIdPAttributeValue
- Returns:
- the attribute value in native format.
-
getValue
public final XMLObject getValue()
Return the value.- Returns:
- the value
-
getDisplayValue
@Nonnull @NotEmpty public String getDisplayValue()
Get a displayable form of the value for user interfaces and similar purposes.- Specified by:
getDisplayValue
in interfaceIdPAttributeValue
- Returns:
- a displayable value
-
-