public class StreamInput extends Object implements CanEvaluate
Constructor and Description |
---|
StreamInput(XBProjector xmlProjector,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
XPathEvaluator |
evalXPath(String xpath) |
<T> T |
read(Class<T> projectionInterface)
Create a new projection by parsing the data provided by the input stream.
|
StreamInput |
setSystemID(String systemID)
As the system id usually cannot be determined by looking at the stream, this method allows it
to be set.
|
public StreamInput(XBProjector xmlProjector, InputStream is)
xmlProjector
- is
- public <T> T read(Class<T> projectionInterface) throws IOException
projectionInterface
- A Java interface to project the data on.IOException
public StreamInput setSystemID(String systemID)
systemID
- public XPathEvaluator evalXPath(String xpath)
evalXPath
in interface CanEvaluate
xpath
- to be evaluated on inputCopyright © 2012-12-21-2022. All Rights Reserved.