EntityManager, Application and Locale will be used for the entire parse. If no EntityManager has been set, a default EntityManager will be used. If no Locale has been set, the default Locale as returned by Locale.getDefault will be used. If no Application has been set, no information about the document will be reported, but an exception will be thrown if the document is not well-formed.
@param entity the document entity of the XML document; the InputStreamof the document entity will be closed after parsing
@exception NotWellFormedException if the document is not well-formed
@exception IOException if an IO error occurs or if a method inApplication throws an IOException
EntityManager has been specified with setEntityManager, then EntityManagerImpl will be used.
@param entity the document entity of the XML document
@exception NotWellFormedException if the document is not well-formed
@exception IOException if an IO error occurs
@see EntityManagerImpl
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |