|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jibx.runtime.impl.StAXReaderFactory
public class StAXReaderFactory
Factory for creating XMLPull parser instances.
Method Summary | |
---|---|
IXMLReader |
createReader(java.io.InputStream is,
java.lang.String name,
java.lang.String enc,
boolean nsf)
Get new XML reader instance for document from input stream. |
IXMLReader |
createReader(java.io.Reader rdr,
java.lang.String name,
boolean nsf)
Get new XML reader instance for document from reader. |
static StAXReaderFactory |
getInstance()
Get instance of factory. |
IXMLReader |
recycleReader(IXMLReader old,
java.io.InputStream is,
java.lang.String name,
java.lang.String enc)
Recycle XML reader instance for new document from input stream. |
IXMLReader |
recycleReader(IXMLReader old,
java.io.Reader rdr,
java.lang.String name)
Recycle XML reader instance for document from reader. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static StAXReaderFactory getInstance()
public IXMLReader createReader(java.io.InputStream is, java.lang.String name, java.lang.String enc, boolean nsf) throws JiBXException
IXMLReaderFactory
createReader
in interface IXMLReaderFactory
is
- document input streamname
- document name (null
if unknown)enc
- document character encoding (null
if unknown)nsf
- namespaces enabled flag
JiBXException
- on parser configuration errorpublic IXMLReader createReader(java.io.Reader rdr, java.lang.String name, boolean nsf) throws JiBXException
IXMLReaderFactory
createReader
in interface IXMLReaderFactory
rdr
- document readername
- document name (null
if unknown)nsf
- namespaces enabled flag
JiBXException
- on parser configuration errorpublic IXMLReader recycleReader(IXMLReader old, java.io.InputStream is, java.lang.String name, java.lang.String enc) throws JiBXException
IXMLReaderFactory
recycleReader
in interface IXMLReaderFactory
old
- reader instance to be recycledis
- document input streamname
- document name (null
if unknown)enc
- document character encoding (null
if unknown)
JiBXException
- on parser configuration errorpublic IXMLReader recycleReader(IXMLReader old, java.io.Reader rdr, java.lang.String name) throws JiBXException
IXMLReaderFactory
recycleReader
in interface IXMLReaderFactory
old
- reader instance to be recycledrdr
- document readername
- document name (null
if unknown)
JiBXException
- on parser configuration error
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |