org.openrdf.repository.object.xslt
Class XMLEventReaderFactory
java.lang.Object
org.openrdf.repository.object.xslt.XMLEventReaderFactory
public class XMLEventReaderFactory
- extends Object
Wraps a XMLInputFactory, but closes input streams when the XMLEventReader is
closed.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLEventReaderFactory
public XMLEventReaderFactory(XMLInputFactory factory)
newInstance
public static XMLEventReaderFactory newInstance()
createXMLEventReader
public XMLEventReader createXMLEventReader(InputStream stream,
String encoding)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(InputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(Reader reader)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(String systemId,
InputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventReader
public XMLEventReader createXMLEventReader(String systemId,
Reader reader)
throws XMLStreamException
- Throws:
XMLStreamException
getEventAllocator
public XMLEventAllocator getEventAllocator()
getProperty
public Object getProperty(String name)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getXMLReporter
public XMLReporter getXMLReporter()
getXMLResolver
public XMLResolver getXMLResolver()
isPropertySupported
public boolean isPropertySupported(String name)
setEventAllocator
public void setEventAllocator(XMLEventAllocator allocator)
setProperty
public void setProperty(String name,
Object value)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
setXMLReporter
public void setXMLReporter(XMLReporter reporter)
setXMLResolver
public void setXMLResolver(XMLResolver resolver)
Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.