Uses of Class org.jdom.Document

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(Document doc, Writer out, String encoding)
This will handle printing of the declaration.

Uses in package org.jdom

Constructors with parameter type org.jdom.Document

This will create an Exception indicating that the addition of the Comment to the Document is illegal.
This will create an Exception indicating that the addition of the DocType to the Document is illegal.
This will create an Exception indicating that the addition of the Element to the Document is illegal.
This will create an Exception indicating that the addition of the ProcessingInstruction to the Document is illegal.

Fields of type org.jdom.Document

Document
The document having this DOCTYPE

Methods with parameter type org.jdom.Document

Comment
This sets the Document parent of this comment.
DocType
This sets the Document holding this doctype.
Element
This sets the Document parent of this element and makes it the root element.
ProcessingInstruction
This sets the Document parent of this PI.

Methods with return type org.jdom.Document

Document
This will add a comment to the Document.
Document
Adds the specified PI to the document.
Document
This retrieves the owning Document for this Attribute, or null if not a currently a member of a Document.
Document
This retrieves the owning Document for this CDATA, or null if not a currently a member of a Document.
Document
This retrieves the owning Document for this Comment, or null if not a currently a member of a Document.
Document
This retrieves the owning Document for this DocType, or null if not a currently a member of a Document.
Document
This retrieves the owning Document for this Element, or null if not a currently a member of a Document.
Document
This retrieves the owning Document for this Entity, or null if not a currently a member of a Document.
Document
This retrieves the owning Document for this PI, or null if not a currently a member of a Document.
Document
This retrieves the owning Document for this Text, or null if not a currently a member of a Document.
Document
Document.setContent(List newContent)
This sets the content of the Document.
Document
This will set the DocType declaration for this Document.
Document
This sets the root Element for the Document.

Uses in package org.jdom.input

Constructors with parameter type org.jdom.Document

This will set the Document to use.

Methods with return type org.jdom.Document

Document
DOMBuilder.build(File file)
This builds a document from the supplied filename by constructing a DOM tree and reading information from the DOM to create a JDOM document, a slower approach than SAXBuilder but useful for debugging.
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
DOMBuilder.build(InputStream in)
This builds a document from the supplied input stream by constructing a DOM tree and reading information from the DOM to create a JDOM document, a slower approach than SAXBuilder but useful for debugging.
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
DOMBuilder.build(URL url)
This builds a document from the supplied URL by constructing a DOM tree and reading information from the DOM to create a JDOM document, a slower approach than SAXBuilder but useful for debugging.
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
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)
This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
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
Returns the document.

Uses in package org.jdom.transform

Constructors with parameter type org.jdom.Document

Creates a JDOM TRaX source wrapping a JDOM 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.

Methods with return type org.jdom.Document

Document
Returns the document produced as result of an XSL Transformation.
Document
Returns the source document used by this TRaX source.

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