gov.nist.javax.sdp.fields
Class Email

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

public class Email
extends SDPObject

Email address record.

Version:
JSR141-PUBLIC-REVIEW (subject to change).
Author:
Olivier Deruelle , M. Ranganathan
See Also:
Serialized Form

Field Summary
protected  String hostName
           
protected  String userName
           
 
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
Email()
           
 
Method Summary
 String encode()
          Get the string encoded version of this object
 String getHostName()
           
 String getUserName()
           
 void setHostName(String h)
          Set the hostName member
 void setUserName(String u)
          Set the userName member
 
Methods inherited from class gov.nist.javax.sdp.fields.SDPObject
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, sprint, toString
 
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
 

Field Detail

userName

protected String userName

hostName

protected String hostName
Constructor Detail

Email

public Email()
Method Detail

getUserName

public String getUserName()

getHostName

public String getHostName()

setUserName

public void setUserName(String u)
Set the userName member


setHostName

public void setHostName(String h)
Set the hostName member


encode

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

Specified by:
encode in class SDPObject
Since:
v1.0


Copyright © 2012. All Rights Reserved.