org.lastbamboo.common.sdp.fields
Class SessionNameField
java.lang.Object
org.lastbamboo.common.sdp.GenericObject
org.lastbamboo.common.sdp.fields.SDPObject
org.lastbamboo.common.sdp.fields.SDPField
org.lastbamboo.common.sdp.fields.SessionNameField
- All Implemented Interfaces:
- Serializable, Cloneable, Field, SessionName, SDPFieldNames
public class SessionNameField
- extends SDPField
- implements SessionName
- See Also:
- Serialized Form
| Fields inherited from class org.lastbamboo.common.sdp.GenericObject |
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, immutableClassNames, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation |
| Fields inherited from interface org.lastbamboo.common.sdp.fields.SDPFieldNames |
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
| Methods inherited from class org.lastbamboo.common.sdp.fields.SDPObject |
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, merge, replace, replace, replace, replace, sprint |
| Methods inherited from class org.lastbamboo.common.sdp.GenericObject |
Assert, clone, dbgPrint, dbgPrint, debugDump, getIndentation, getMatcher, isMySubclass, makeClone, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint |
sessionName
protected String sessionName
SessionNameField
public SessionNameField()
getSessionName
public String getSessionName()
setSessionName
public void setSessionName(String s)
- Set the sessionName member
getValue
public String getValue()
throws SdpParseException
- Returns the value.
- Specified by:
getValue in interface SessionName
- Returns:
- the value
- Throws:
SdpParseException
setValue
public void setValue(String value)
throws SdpException
- Sets the value
- Specified by:
setValue in interface SessionName
- Parameters:
value - the - new information.
- Throws:
SdpException - if the value is null
encode
public String encode()
- Get the string encoded version of this object
- Specified by:
encode in class SDPField
- Since:
- v1.0
Copyright © 2013 LittleShoot. All Rights Reserved.