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
AXMLObjectAttributeValuevalue for anIdPAttribute.
-
-
Constructor Summary
Constructors Constructor Description XMLObjectAttributeValue(XMLObject attributeValue)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDisplayValue()Get a displayable form of the value for user interfaces and similar purposes.ObjectgetNativeValue()Get the native representation of the value of this attribute.XMLObjectgetValue()Return the value.inthashCode()StringtoString()-
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:
getNativeValuein 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:
getDisplayValuein interfaceIdPAttributeValue- Returns:
- a displayable value
-
-