public interface Attribute extends Field
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this attribute
|
String |
getValue()
Returns the value of this attribute.
|
boolean |
hasValue()
Determines if this attribute has an associated value.
|
void |
setName(String name)
Sets the id of this attribute.
|
void |
setValue(String value)
Sets the value of this attribute.
|
clone, getTypeChar
String getName() throws SdpParseException
SdpParseException
- if the name is not well formatted.void setName(String name) throws SdpException
name
- the string name/id of the attribute.SdpException
- if the name is nullboolean hasValue() throws SdpParseException
SdpParseException
- if the value is not well formatted.String getValue() throws SdpParseException
SdpParseException
- if the value is not well formatted.void setValue(String value) throws SdpException
value
- the - attribute valueSdpException
- if the value is null.Copyright © 2016. All Rights Reserved.