All Packages Class Hierarchy This Package Previous Next Index
DOMAdapter
This interface defines wrapper behavior for obtaining a DOM
Document object from a DOM parser.
This creates an empty Document object based
on a specific parser implementation.
This creates an empty Document object based
on a specific parser implementation with the given DOCTYPE.
This creates a new Document from a
given filename by letting a DOM parser handle parsing from the file.
This creates a new Document from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream.
public abstract Document getDocument(File filename,
boolean validate) throws Exception
This creates a new Document from a
given filename by letting a DOM parser handle parsing from the file.
boolean to indicate if validation
should occur.
Document - instance ready for use.
public abstract Document getDocument(InputStream in,
boolean validate) throws Exception
This creates a new Document from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream.
InputStream to parse.
boolean to indicate if validation
should occur.
Document - instance ready for use.
public abstract Document createDocument() throws Exception
This creates an empty Document object based
on a specific parser implementation.
Document - created DOM Document.
public abstract Document createDocument(DocType doctype) throws Exception
This creates an empty Document object based
on a specific parser implementation with the given DOCTYPE.
DocType of the document.
Document - created DOM Document.
All Packages Class Hierarchy This Package Previous Next Index