getDocument(InputStream in, boolean validate) This creates a new Document from an
existing InputStream by letting a JAXP
parser handle parsing using the supplied stream.
Parameters: in - InputStream to parse. Parameters: validate - boolean to indicate if validation should occur.
This creates an empty Document object based
on a specific parser implementation.
Document - created DOM Document. throws: JDOMException - when errors occur in parsing.
This creates a new Document from an
existing InputStream by letting a JAXP
parser handle parsing using the supplied stream.
Parameters: in - InputStream to parse. Parameters: validate - boolean to indicate if validation should occur. Document - instance ready for use. throws: IOException - when I/O error occurs. throws: JDOMException - when errors occur in parsing.
Methods inherited from org.jdom.adapters.AbstractDOMAdapter