public class OembedXmlParser extends Object implements OembedParser
| Constructor and Description |
|---|
OembedXmlParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(OembedResponse oembedResponse)
Marhsals the given OembedResponse to a string
|
void |
marshal(OembedResponse oembedResponse,
OutputStream outputStream) |
OembedResponse |
unmarshal(InputStream httpResponse)
Unmarshals an OembedResponse from the given inputstream
|
public OembedResponse unmarshal(InputStream httpResponse) throws OembedException
OembedParserunmarshal in interface OembedParserOembedExceptionpublic String marshal(OembedResponse oembedResponse) throws OembedException
OembedParsermarshal in interface OembedParserOembedExceptionpublic void marshal(OembedResponse oembedResponse, OutputStream outputStream) throws OembedException
marshal in interface OembedParserOembedExceptionCopyright © 2010-2014 michael-simons.eu. All Rights Reserved.