|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXMLReaderFactory
Interface for factories used to create XML reader instances. Instances of this interface must be assumed to be single threaded.
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. |
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. |
Method Detail |
---|
IXMLReader createReader(java.io.InputStream is, java.lang.String name, java.lang.String enc, boolean nsf) throws JiBXException
is
- document input streamname
- document name (null
if unknown)enc
- document character encoding (null
if unknown)nsf
- namespaces enabled flag
JiBXException
- on parser configuration errorIXMLReader createReader(java.io.Reader rdr, java.lang.String name, boolean nsf) throws JiBXException
rdr
- document readername
- document name (null
if unknown)nsf
- namespaces enabled flag
JiBXException
- on parser configuration errorIXMLReader recycleReader(IXMLReader old, java.io.InputStream is, java.lang.String name, java.lang.String enc) throws JiBXException
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 errorIXMLReader recycleReader(IXMLReader old, java.io.Reader rdr, java.lang.String name) throws JiBXException
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 |