XmlReader interface, which
reads and parses an XML formatted WebRowSet object.
This implementation uses an org.xml.sax.Parser object
as its parser.
| Modifier and Type | Field and Description |
|---|---|
| private JdbcRowSetResourceBundle | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | readData(RowSetInternal caller)
Implements javax. For code coverage purposes only right now |
| private void | readObject(ObjectInputStream ois)
This method re populates the resBundle during the deserialization process |
| public void | readXML(WebRowSet
the caller, Reader WebRowSet object to be parsed, whose
xmlReader field must contain a reference to
this XmlReader objectthe reader)java.io.Reader object from which
the parser will get its inputImplements javax. Parses the given |
| public void | readXML(WebRowSet
the caller, InputStream WebRowSet object to be parsed, whose
xmlReader field must contain a reference to
this XmlReader objectthe iStream)java.io.InputStream object from which
the parser will get its inputParses the given |
| resBundle | back to summary |
|---|---|
| private JdbcRowSetResourceBundle resBundle | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| WebRowSetXmlReader | back to summary |
|---|---|
| public WebRowSetXmlReader() | |
| readData | back to summary |
|---|---|
| public void readData(RowSetInternal caller) Implements javax. For code coverage purposes only right now | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException This method re populates the resBundle during the deserialization process | |
| readXML | back to summary |
|---|---|
| public void readXML(WebRowSet caller, Reader reader) throws SQLException Implements javax. Parses the given
This method is called internally by the method
If a parsing error occurs, the exception thrown will include information for locating the error in the original XML document.
| |
| readXML | back to summary |
|---|---|
| public void readXML(WebRowSet caller, InputStream iStream) throws SQLException Parses the given
Using streams is a much faster way than using
This method is called internally by the method
If a parsing error occurs, the exception thrown will include information for locating the error in the original XML document.
| |