Method Summary |
|
public void | configure(Configuration conf) Set the configurations for this serializer. |
public void | contextualize(Context context) |
public Serializable | getKey() Generate the unique key. |
public String | getMimeType() Return the MIME type. |
public SourceValidity | getValidity() Generate the validity object. |
public void | notify(Document doc) Receive notification of a successfully completed DOM tree generation. |
public void | setOutputStream(OutputStream out) Set the OutputStream where the XML should be serialized. |
public boolean | shouldSetContentLength() Returns true so the pipeline implementation will buffer generated
output and write content length to the response.
Batik's PNGTranscoder closes the output stream, therefore we
cannot pass the output stream directly to Batik and have to
instruct pipeline to buffer it. |