Uses of Class org.jdom.Document

Uses in package org.jdom.input

Constructors with parameter type org.jdom.Document

JDOMParseException.JDOMParseException(String message, Throwable cause, Document partialDocument)
This will create a parse Exception with the given message and the partial document and wrap the Exception that cause a document parse to fail.

Methods with return type org.jdom.Document

Document
SAXBuilder.build(File file)
This builds a document from the supplied filename.
Document
SAXBuilder.build(InputSource in)
This builds a document from the supplied input source.
Document
SAXBuilder.build(InputStream in)
This builds a document from the supplied input stream.
Document
SAXBuilder.build(InputStream in, String systemId)
This builds a document from the supplied input stream.
Document
SAXBuilder.build(Reader characterStream)
This builds a document from the supplied Reader.
Document
SAXBuilder.build(Reader characterStream, String systemId)
This builds a document from the supplied Reader.
Document
SAXBuilder.build(String systemId)
This builds a document from the supplied URI.
Document
SAXBuilder.build(URL url)
This builds a document from the supplied URL.
Document
DOMBuilder.build(org.w3c.dom.Document domDocument)
This will build a JDOM tree from an existing DOM tree.
Document
Returns the document.
Document
Returns the partial document that was successfully built before the error occurred.

Uses in package org.jdom.output

Methods with parameter type org.jdom.Document

org.w3c.dom.Document
This converts the JDOM Document parameter to a DOM Document, returning the DOM version.
void
This will output the JDOM Document, firing off the SAX events that have been registered.
void
XMLOutputter.output(Document doc, OutputStream out)
This will print the Document to the given output stream.
void
XMLOutputter.output(Document doc, Writer out)
This will print the Document to the given Writer.
String
Return a string representing a document.
void
XMLOutputter.printDeclaration(Writer out, Document doc, String encoding)
This will handle printing of the declaration.

Uses in package org.jdom.transform

Constructors with parameter type org.jdom.Document

Creates a JDOM TrAX source wrapping a JDOM document.
This will create a new XSLTransformer by reading the stylesheet from the specified Document.

Methods with parameter type org.jdom.Document

void
Sets the document produced as result of an XSL Transformation.
void
Sets the source document used by this TrAX source.
Document
Transforms the given document to an output document.

Methods with return type org.jdom.Document

Document
Returns the result of an XSL Transformation as a JDOM document.
Document
Returns the source document used by this TrAX source.
Document
Transforms the given document to an output document.

Uses in package org.jdom

Methods with return type org.jdom.Document

Document
Document.addContent(Collection c)
Appends all children in the given collection to the end of the content list.
Document
Document.addContent(int index, Collection c)
Inserts the content in a collection into the content list at the given index.
Document
Document.addContent(int index, Content child)
Inserts the child into the content list at the given index.
Document
Appends the child to the end of the content list.
Document
Document
This will create a new Document, with the supplied Element as the root element, and no DocType declaration.
Document
This will create a new Document, with the supplied Element as the root element, and no DocType declaration.
Document
DefaultJDOMFactory.document(Element rootElement, DocType docType)
Document
JDOMFactory.document(Element rootElement, DocType docType)
This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
Document
This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
Document
DefaultJDOMFactory.document(Element rootElement, DocType docType, String baseURI)
Document
JDOMFactory.document(Element rootElement, DocType docType, String baseURI)
This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
Document
UncheckedJDOMFactory.document(Element rootElement, DocType docType, String baseURI)
This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
Document
This retrieves the owning Document for this Attribute, or null if not a currently a member of a Document.
Document
Return this child's owning document or null if the branch containing this child is currently not attached to a document.
Document
Document
Return this parent's owning document or null if the branch containing this parent is currently not attached to a document.
Document
Document.setContent(Collection newContent)
This sets the content of the Document.
Document
Document.setContent(int index, Collection collection)
Replace the child at the given index whith the supplied collection.
Document
Document.setContent(int index, Content child)
Document
Set this document's content to be the supplied child.
Document
This will set the DocType declaration for this Document.
Document
This sets the root Element for the Document.

Uses in package org.jdom.adapters

Methods with return type org.jdom.Document

Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation.
Document
This creates an empty Document object based on a specific parser implementation with the given DOCTYPE.
Document
This creates an empty Document object based on a specific parser implementation with the given DOCTYPE.
Document
AbstractDOMAdapter.getDocument(File filename, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.
Document
DOMAdapter.getDocument(File filename, boolean validate)
This creates a new Document from a given filename by letting a DOM parser handle parsing from the file.
Document
AbstractDOMAdapter.getDocument(InputStream in, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.
Document
CrimsonDOMAdapter.getDocument(InputStream in, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.
Document
DOMAdapter.getDocument(InputStream in, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.
Document
JAXPDOMAdapter.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.
Document
OracleV1DOMAdapter.getDocument(InputStream in, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.
Document
OracleV2DOMAdapter.getDocument(InputStream in, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.
Document
XercesDOMAdapter.getDocument(InputStream in, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.
Document
XML4JDOMAdapter.getDocument(InputStream in, boolean validate)
This creates a new Document from an existing InputStream by letting a DOM parser handle parsing using the supplied stream.

Copyright B) 2004 Jason Hunter, Brett McLaughlin. All Rights Reserved.