com.addc.commons.slp.AttributeValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-slp Show documentation
Show all versions of addc-slp Show documentation
The addc-slp library supplies client classes for registering objects with a Service Location Protocol Daemon and
for looking theses objects up later.
package com.addc.commons.slp;
/**
*
* The AttributeValue interface defines the contract for attribute values. T can be String, Boolean, Integer or byte[].
*
* @see StringAttributeValue
* @see BooleanAttributeValue
* @see IntegerAttributeValue
* @see OpaqueAttributeValue
*/
public interface AttributeValue {
/**
* Get the attribute value
*
* @return the attribute value
*/
T getValue();
/**
* Get the simple class name of the value
*
* @return the simple class name of the value
*/
String getClassName();
/**
* Get the value as an escaped String
*
* @return the value as an escaped String
*/
String getEscapedString();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy