org.openrdf.sesame.query
Class XmlQueryResultReader
java.lang.Object
org.openrdf.sesame.query.XmlQueryResultReader
- public class XmlQueryResultReader
- extends Object
Reader for reading query results that are in Sesame's XML format for query
results. The reader assumes that the XML is wellformed and correct, and
does not do any extra verification. See the documentation for
XmlQueryResultWriter for a description of the XML format.
- Author:
- Peter van 't Hof, Arjohn Kampman
- See Also:
XmlQueryResultWriter
|
Constructor Summary |
XmlQueryResultReader(XMLReader xmlReader)
Creates a new XmlQueryResultReader that will use the supplied
XMLReader for parsing the XML query result documents and an
instance of ValueFactoryImpl to create any model objects. |
XmlQueryResultReader(XMLReader xmlReader,
ValueFactory valueFactory)
Creates a new XmlQueryResultReader that will use the supplied
XMLReader for parsing the XML query result documents and the
supplied ValueFactory to create any model objects. |
XmlQueryResultReader
public XmlQueryResultReader(XMLReader xmlReader)
- Creates a new XmlQueryResultReader that will use the supplied
XMLReader for parsing the XML query result documents and an
instance of ValueFactoryImpl to create any model objects.
XmlQueryResultReader
public XmlQueryResultReader(XMLReader xmlReader,
ValueFactory valueFactory)
- Creates a new XmlQueryResultReader that will use the supplied
XMLReader for parsing the XML query result documents and the
supplied ValueFactory to create any model objects.
read
public void read(InputStream in,
TableQueryResultListener listener)
throws SAXException,
IOException
- Throws:
SAXException
IOException
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.