All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.jdom.adapters.AbstractDOMAdapter
AbstractDOMAdapter
This class 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
This creates a new {
getDocument(InputStream, boolean)
{
public AbstractDOMAdapter()
public Document getDocument(File filename,
boolean validate) throws Exception
This creates a new {@link Document} from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream.
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 {@link 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 Document createDocument(DocType doctype) throws Exception
This creates an empty Document object based
on a specific parser implementation with the given DOCTYPE.
If the doctype parameter is null, the behavior is the same as
calling createDocument().
DocType of the document.
Document - created DOM Document.
All Packages Class Hierarchy This Package Previous Next Index