Class Overview
Google Apps name space element: <apps:rfc822Msg>. Used to model
the contents of a mail message from a legacy email platform.
Summary
| Nested Classes |
|
enum |
Rfc822Msg.Encoding |
A method by which mail may be encoded. |
| Public Constructors |
|
|
Rfc822Msg()
Creates a new Rfc822Msg with the rfc822Msg text set to null and no
encoding.
|
|
|
Rfc822Msg(String msg)
Creates a new Rfc822Msg object with the specified text and no encoding.
|
|
|
Rfc822Msg(String msg, Rfc822Msg.Encoding encoding)
Creates a new Rfc822Msg object with the specified text and encoding.
|
|
[Expand]
Inherited Methods |
From class
com.google.gdata.data.ValueConstruct
|
From class
com.google.gdata.data.AbstractExtension
|
void
|
consumeAttributes(AttributeHelper helper)
Consumes attributes from the attribute helper.
|
|
final
static
void
|
disableStrictValidation()
|
|
final
static
void
|
enableStrictValidation()
|
|
static
boolean
|
eq(Object o1, Object o2)
|
|
void
|
generate(XmlWriter w, ExtensionProfile p)
Generates an XML representation for the extension.
|
|
void
|
generate(XmlWriter w, ExtensionProfile p, XmlNamespace namespace, String localName, List<XmlWriter.Attribute> attrs, AttributeGenerator generator)
Generates the XML into the XML writer.
|
|
void
|
generateAttributes(List<XmlWriter.Attribute> attrs, AttributeGenerator generator)
Generates the attributes in the generator into the list of attributes.
|
|
final
String
|
getExtensionLocalName()
Gets the extension's localname.
|
|
final
XmlNamespace
|
getExtensionNamespace()
Gets the extension's namespace.
|
|
XmlParser.ElementHandler
|
getHandler(ExtensionProfile p, String namespace, String localName, Attributes attrs)
|
|
final
boolean
|
isImmutable()
|
|
final
static
boolean
|
isStrictValidation()
|
|
void
|
putAttributes(AttributeGenerator generator)
Puts attributes into the attribute generator.
|
|
boolean
|
sameClassAs(Object o)
|
|
final
void
|
setImmutable(boolean isImmutable)
|
|
final
static
void
|
throwExceptionForMissingAttribute(String attrName)
Throws an IllegalStateException if the value is required
and it is missing.
|
|
final
void
|
throwExceptionIfImmutable()
Throws an IllegalStateException if this instance is immutable.
|
|
void
|
validate()
Checks the attributes to see if there are any problems.
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gdata.data.Extension
|
Constants
public
static
final
String
ATTRIBUTE_ENCODING
Constant Value:
"encoding"
public
static
final
String
EXTENSION_LOCAL_NAME
Constant Value:
"rfc822Msg"
Fields
the extension description is shared by all instances of this class
Public Constructors
public
Rfc822Msg
()
Creates a new Rfc822Msg with the rfc822Msg text set to null and no
encoding.
public
Rfc822Msg
(String msg)
Creates a new Rfc822Msg object with the specified text and no encoding.
public
Rfc822Msg
(String msg, Rfc822Msg.Encoding encoding)
Creates a new Rfc822Msg object with the specified text and encoding.
Public Methods
public
boolean
equals
(Object obj)
public
void
putAttributes
(AttributeGenerator generator)
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
Parameters
| generator
| Attribute generator
|
Protected Methods