public class Output extends PipeDocElement
COMPSTREAMRESULT, COMPSTREAMSOURCE, DOCFRAG, DOCUMENT, DOMRESULT, DOMSOURCE, ELEMENT, PROCESS_WAITING, SAXRESULT, SAXSOURCE, STREAMRESULT, STREAMSOURCE| Modifier and Type | Method and Description |
|---|---|
boolean |
isXMLType(int type)
Checks whether this Output object supports the following types of XML as output.
|
void |
supportType(int type)
Set the types of output to support for this Output object.
|
public void supportType(int type)
type - constants allowed are DOMRESULT, SAXRESULT, STREAMRESULT, COMPSTREAMRESULT, DOCUMENT, DOCFRAG, ELEMENTpublic boolean isXMLType(int type)
type - constants allowed are DOMRESULT, SAXRESULT, STREAMRESULT, COMPSTREAMRESULT, DOCUMENT, DOCFRAG, ELEMENT