public class EmailField extends SDPField implements EMail
Modifier and Type | Field and Description |
---|---|
protected EmailAddress |
emailAddress |
CORE_PACKAGE, SDPFIELDS_PACKAGE
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
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 and Description |
---|
EmailField() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones this object.
|
String |
encode()
Get the string encoded version of this object
|
EmailAddress |
getEmailAddress() |
String |
getValue()
Returns the value.
|
void |
setEmailAddress(EmailAddress emailAddress)
Set the emailAddress member
|
void |
setValue(String value)
Set the value.
|
String |
toString() |
getFieldName, getTypeChar
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, sprint
dbgPrint, dbgPrint, debugDump, encode, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeChar
protected EmailAddress emailAddress
public EmailAddress getEmailAddress()
public void setEmailAddress(EmailAddress emailAddress)
public String encode()
public String getValue() throws SdpParseException
getValue
in interface EMail
SdpParseException
public void setValue(String value) throws SdpException
setValue
in interface EMail
value
- to setSdpException
- if the value is nullpublic Object clone()
GenericObject
clone
in interface Field
clone
in class GenericObject
Copyright © 2016. All Rights Reserved.