public class Input 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 Input object supports the following types of XML as input.
|
void |
supportType(int type)
Set the types of input to support for this Input.
|
public void supportType(int type)
type
- constants allowed are DOMSOURCE, SAXSOURCE, STREAMSOURCE, COMPSTREAMSOURCE, DOCUMENT, DOCFRAG, ELEMENTpublic boolean isXMLType(int type)
type
- constants allowed are DOMSOURCE, SAXSOURCE, STREAMSOURCE, COMPSTREAMSOURCE, DOCUMENT, DOCFRAG, ELEMENT