org.lastbamboo.common.sdp.fields
Class EmailAddress

java.lang.Object
  extended by org.lastbamboo.common.sdp.GenericObject
      extended by org.lastbamboo.common.sdp.fields.SDPObject
          extended by org.lastbamboo.common.sdp.fields.EmailAddress
All Implemented Interfaces:
Serializable, Cloneable, SDPFieldNames

public class EmailAddress
extends SDPObject

email address field of the SDP header.

Version:
JSR141-PUBLIC-REVIEW (subject to change)
Author:
Oliver Deruelle , M. Ranganathan
This code is in the public domain.
See Also:
Serialized Form

Field Summary
protected  String displayName
           
protected  Email email
           
 
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
 
Constructor Summary
EmailAddress()
           
 
Method Summary
 Object clone()
          Clones this object.
 String encode()
          Get the string encoded version of this object
 String getDisplayName()
           
 void setDisplayName(String displayName)
          Set the displayName member
 void setEmail(Email email)
          Set the email member
 
Methods inherited from class org.lastbamboo.common.sdp.fields.SDPObject
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, merge, replace, replace, replace, replace, sprint, toString
 
Methods inherited from class org.lastbamboo.common.sdp.GenericObject
Assert, dbgPrint, dbgPrint, debugDump, getIndentation, getMatcher, isMySubclass, makeClone, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

displayName

protected String displayName

email

protected Email email
Constructor Detail

EmailAddress

public EmailAddress()
Method Detail

getDisplayName

public String getDisplayName()

setDisplayName

public void setDisplayName(String displayName)
Set the displayName member


setEmail

public void setEmail(Email email)
Set the email member


encode

public String encode()
Get the string encoded version of this object

Specified by:
encode in class SDPObject
Since:
v1.0 Here, we implement only the "displayName " form and not the "email (displayName)" form

clone

public Object clone()
Description copied from class: GenericObject
Clones this object.

Overrides:
clone in class GenericObject


Copyright © 2013 LittleShoot. All Rights Reserved.