|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tinyradius.attribute.RadiusAttribute org.tinyradius.attribute.StringAttribute
public class StringAttribute
This class represents a Radius attribute which only contains a string.
Constructor Summary | |
---|---|
StringAttribute()
Constructs an empty string attribute. |
|
StringAttribute(int type,
java.lang.String value)
Constructs a string attribute with the given value. |
Method Summary | |
---|---|
java.lang.String |
getAttributeValue()
Returns the string value of this attribute. |
void |
setAttributeValue(java.lang.String value)
Sets the string value of this attribute. |
Methods inherited from class org.tinyradius.attribute.RadiusAttribute |
---|
createRadiusAttribute, createRadiusAttribute, createRadiusAttribute, getAttributeData, getAttributeType, getAttributeTypeObject, getDictionary, getVendorId, readAttribute, setAttributeData, setAttributeType, setDictionary, setVendorId, toString, writeAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringAttribute()
public StringAttribute(int type, java.lang.String value)
type
- attribute typevalue
- attribute valueMethod Detail |
---|
public java.lang.String getAttributeValue()
getAttributeValue
in class RadiusAttribute
public void setAttributeValue(java.lang.String value)
setAttributeValue
in class RadiusAttribute
value
- string, not null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |