public abstract static class AbstractHttpOverXmpp.AbstractBody extends Object
Constructor and Description |
---|
AbstractHttpOverXmpp.AbstractBody() |
Modifier and Type | Method and Description |
---|---|
AbstractHttpOverXmpp.Data |
getData()
Returns Data element.
|
protected abstract String |
getEndTag()
Returns end tag.
|
HeadersExtension |
getHeaders()
Returns Headers element.
|
protected abstract String |
getStartTag()
Returns start tag.
|
String |
getVersion()
Returns version attribute.
|
void |
setData(AbstractHttpOverXmpp.Data data)
Sets Data element.
|
void |
setHeaders(HeadersExtension headers)
Sets Headers element.
|
void |
setVersion(String version)
Sets version attribute.
|
String |
toXML()
Returns string containing xml representation of this object.
|
public AbstractHttpOverXmpp.AbstractBody()
public String toXML()
protected abstract String getStartTag()
public String getVersion()
public void setVersion(String version)
version
- version attributepublic HeadersExtension getHeaders()
public void setHeaders(HeadersExtension headers)
headers
- Headers elementpublic AbstractHttpOverXmpp.Data getData()
public void setData(AbstractHttpOverXmpp.Data data)
data
- Headers element