gov.nist.javax.sdp.fields
Class EmailField
java.lang.Object
gov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.EmailField
- All Implemented Interfaces:
- Cloneable, EMail, Field, SDPFieldNames, Serializable
- public class EmailField
- extends SDPField
- implements EMail
email field in the SDP announce.
- Version:
- JSR141-PUBLIC-REVIEW (subject to change).
- Author:
- Olivier Deruelle , M. Ranganathan
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class gov.nist.core.GenericObject |
debugDump, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
EmailField
public EmailField()
getEmailAddress
public EmailAddress getEmailAddress()
setEmailAddress
public void setEmailAddress(EmailAddress emailAddress)
- Set the emailAddress member
encode
public String encode()
- Get the string encoded version of this object
- Specified by:
encode in class SDPField
- Since:
- v1.0
toString
public String toString()
- Overrides:
toString in class SDPField
getValue
public String getValue()
throws SdpParseException
- Returns the value.
- Specified by:
getValue in interface EMail
- Returns:
- the value
- Throws:
SdpParseException
setValue
public void setValue(String value)
throws SdpException
- Set the value.
- Specified by:
setValue in interface EMail
- Parameters:
value - to set
- Throws:
SdpException - if the value is null
clone
public Object clone()
- Description copied from interface:
Field
- Returns a clone of this field.
- Specified by:
clone in interface Field
A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.