|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.client.xml.AbstractXmlHttpContent
public abstract class AbstractXmlHttpContent
Abstract serializer for XML HTTP content based on the data key/value mapping object for an item.
| Field Summary | |
|---|---|
String |
contentType
Content type. |
XmlNamespaceDictionary |
namespaceDictionary
XML namespace dictionary. |
| Constructor Summary | |
|---|---|
AbstractXmlHttpContent()
|
|
| Method Summary | |
|---|---|
String |
getEncoding()
Default implementation returns null, but subclasses may override. |
long |
getLength()
Default implementation returns -1, but subclasses may override. |
String |
getType()
Returns the content type. |
void |
writeTo(OutputStream out)
Writes the content to the given output stream. |
protected abstract void |
writeTo(org.xmlpull.v1.XmlSerializer serializer)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String contentType
XmlHttpParser.CONTENT_TYPE, though
subclasses may define a different default value.
public XmlNamespaceDictionary namespaceDictionary
| Constructor Detail |
|---|
public AbstractXmlHttpContent()
| Method Detail |
|---|
public String getEncoding()
null, but subclasses may override.
getEncoding in interface HttpContentpublic long getLength()
-1, but subclasses may override.
getLength in interface HttpContentpublic final String getType()
HttpContent
getType in interface HttpContent
public final void writeTo(OutputStream out)
throws IOException
HttpContent
writeTo in interface HttpContentIOException
protected abstract void writeTo(org.xmlpull.v1.XmlSerializer serializer)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||