public class XBStreamInput extends Object implements CanEvaluate
| Constructor and Description |
|---|
XBStreamInput(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.
|
XBStreamInput |
setSystemID(String systemID)
As the system id usually cannot be determined by looking at the stream, this method allows it
to be set.
|
public XBStreamInput(XBProjector xmlProjector, InputStream is)
xmlProjector - is - public <T> T read(Class<T> projectionInterface) throws IOException
projectionInterface - A Java interface to project the data on.IOExceptionpublic XBStreamInput setSystemID(String systemID)
systemID - public XPathEvaluator evalXPath(String xpath)
evalXPath in interface CanEvaluatexpath - to be evaluated on inputCopyright © 2012-12-21-2017. All Rights Reserved.