gov.nist.javax.sdp.fields
Class SessionNameField

java.lang.Object
  extended by gov.nist.core.GenericObject
      extended by gov.nist.javax.sdp.fields.SDPObject
          extended by gov.nist.javax.sdp.fields.SDPField
              extended by gov.nist.javax.sdp.fields.SessionNameField
All Implemented Interfaces:
SDPFieldNames, Serializable, Cloneable, Field, SessionName

public class SessionNameField
extends SDPField
implements SessionName

See Also:
Serialized Form

Field Summary
protected  String sessionName
           
 
Fields inherited from class gov.nist.javax.sdp.fields.SDPField
fieldName
 
Fields inherited from class gov.nist.javax.sdp.fields.SDPObject
CORE_PACKAGE, SDPFIELDS_PACKAGE
 
Fields inherited from class gov.nist.core.GenericObject
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation
 
Fields inherited from interface gov.nist.javax.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
 
Constructor Summary
SessionNameField()
           
 
Method Summary
 String encode()
          Get the string encoded version of this object
 String getSessionName()
           
 String getValue()
          Returns the value.
 void setSessionName(String s)
          Set the sessionName member
 void setValue(String value)
          Sets the value
 
Methods inherited from class gov.nist.javax.sdp.fields.SDPField
getFieldName, getTypeChar, toString
 
Methods inherited from class gov.nist.javax.sdp.fields.SDPObject
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, sprint
 
Methods inherited from class gov.nist.core.GenericObject
clone, dbgPrint, dbgPrint, debugDump, encode, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.sdp.Field
clone, getTypeChar
 

Field Detail

sessionName

protected String sessionName
Constructor Detail

SessionNameField

public SessionNameField()
Method Detail

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 © 2012. All Rights Reserved.