Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.jdom.Document

Packages that use Document
org.jdom |
org.jdom.input |
org.jdom.output |
org.jdom.transform |

Uses of Document in org.jdom

Methods in org.jdom that return Document
`Document` | `Document.addContent(java.util.Collection c)` Appends all children in the given collection to the end of the content list.
`Document` | `Document.addContent(Content child)` Appends the child to the end of the content list.
`Document` | `Document.addContent(int index, java.util.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` | `DefaultJDOMFactory.document(Element rootElement)`
`Document` | `JDOMFactory.document(Element rootElement)` This will create a new `Document`, with the supplied ``Element`` as the root element, and no ``DocType`` declaration.
`Document` | `UncheckedJDOMFactory.document(Element rootElement)`
`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` | `UncheckedJDOMFactory.document(Element rootElement, DocType docType)`
`Document` | `DefaultJDOMFactory.document(Element rootElement, DocType docType, java.lang.String baseURI)`
`Document` | `JDOMFactory.document(Element rootElement, DocType docType, java.lang.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, java.lang.String baseURI)`
`Document` | `Attribute.getDocument()` This retrieves the owning ``Document`` for this Attribute, or null if not a currently a member of a ``Document``.
`Document` | `Content.getDocument()` Return this child's owning document or null if the branch containing this child is currently not attached to a document.
`Document` | `Document.getDocument()`
`Document` | `Parent.getDocument()` Return this parent's owning document or null if the branch containing this parent is currently not attached to a document.
`Document` | `Document.setContent(java.util.Collection newContent)` This sets the content of the `Document`.
`Document` | `Document.setContent(Content child)` Set this document's content to be the supplied child.
`Document` | `Document.setContent(int index, java.util.Collection collection)` Replace the child at the given index whith the supplied collection.
`Document` | `Document.setContent(int index, Content child)`
`Document` | `Document.setDocType(DocType docType)` This will set the ``DocType`` declaration for this `Document`.
`Document` | `Document.setRootElement(Element rootElement)` This sets the root ``Element`` for the `Document`.

Uses of Document in org.jdom.input

Fields in org.jdom.input declared as Document
`private Document` | `SAXHandler.document` `Document` object being built
`private Document` | `JDOMParseException.partialDocument` The portion of the document that was successfully built before the parse error occurred.

Methods in org.jdom.input that return Document
`Document` | `DOMBuilder.build(org.w3c.dom.Document domDocument)` This will build a JDOM tree from an existing DOM tree.
`Document` | `SAXBuilder.build(java.io.File file)` This builds a document from the supplied filename.
`Document` | `SAXBuilder.build(org.xml.sax.InputSource in)` This builds a document from the supplied input source.
`Document` | `SAXBuilder.build(java.io.InputStream in)` This builds a document from the supplied input stream.
`Document` | `SAXBuilder.build(java.io.InputStream in, java.lang.String systemId)` This builds a document from the supplied input stream.
`Document` | `SAXBuilder.build(java.io.Reader characterStream)` This builds a document from the supplied Reader.
`Document` | `SAXBuilder.build(java.io.Reader characterStream, java.lang.String systemId)` This builds a document from the supplied Reader.
`Document` | `SAXBuilder.build(java.lang.String systemId)` This builds a document from the supplied URI.
`Document` | `SAXBuilder.build(java.net.URL url)` This builds a document from the supplied URL.
`Document` | `SAXHandler.getDocument()` Returns the document.
`Document` | `JDOMParseException.getPartialDocument()` Returns the partial document that was successfully built before the error occurred.

Methods in org.jdom.input with parameters of type Document
`private void` | `DOMBuilder.buildTree(org.w3c.dom.Node node, Document doc, Element current, boolean atRoot)` This takes a DOM `Node` and builds up a JDOM tree, recursing until the DOM tree is exhausted and the JDOM tree results.

Constructors in org.jdom.input with parameters of type Document
`JDOMParseException(java.lang.String message, java.lang.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.

Uses of Document in org.jdom.output

Methods in org.jdom.output with parameters of type Document
`private void` | `SAXOutputter.documentLocator(Document document)` This method tells you the line of the XML file being parsed.
`private void` | `SAXOutputter.dtdEvents(Document document)` This parses a DTD declaration to fire the related events towards the registered handlers.
`org.w3c.dom.Document` | `DOMOutputter.output(Document document)` This converts the JDOM `Document` parameter to a DOM Document, returning the DOM version.
`void` | `SAXOutputter.output(Document document)` This will output the `JDOM Document`, firing off the SAX events that have been registered.
`void` | `XMLOutputter.output(Document doc, java.io.OutputStream out)` This will print the `Document` to the given output stream.
`void` | `XMLOutputter.output(Document doc, java.io.Writer out)` This will print the `Document` to the given Writer.
`java.lang.String` | `XMLOutputter.outputString(Document doc)` Return a string representing a document.
`protected void` | `XMLOutputter.printDeclaration(java.io.Writer out, Document doc, java.lang.String encoding)` This will handle printing of the declaration.

Uses of Document in org.jdom.transform

Methods in org.jdom.transform that return Document
`Document` | `JDOMResult.getDocument()` Returns the result of an XSL Transformation as a JDOM document.
`Document` | `JDOMSource.getDocument()` Returns the source document used by this TrAX source.
`Document` | `XSLTransformer.transform(Document inputDoc)` Transforms the given document to an output document.
`Document` | `XSLTransformer.transform(Document inputDoc, org.xml.sax.EntityResolver resolver)` Transforms the given document to an output document.

Methods in org.jdom.transform with parameters of type Document
`void` | `JDOMResult.setDocument(Document document)` Sets the document produced as result of an XSL Transformation.
`void` | `JDOMSource.setDocument(Document source)` Sets the source document used by this TrAX source.
`Document` | `XSLTransformer.transform(Document inputDoc)` Transforms the given document to an output document.
`Document` | `XSLTransformer.transform(Document inputDoc, org.xml.sax.EntityResolver resolver)` Transforms the given document to an output document.

Constructors in org.jdom.transform with parameters of type Document
`JDOMSource.JDOMInputSource(Document document)` Builds a InputSource wrapping the specified JDOM Document.
`JDOMSource(Document source)` Creates a JDOM TrAX source wrapping a JDOM document.
`JDOMSource(Document source, org.xml.sax.EntityResolver resolver)` Creates a JDOM TrAX source wrapping a JDOM element with an associated EntityResolver to resolve external entities.
`XSLTransformer(Document stylesheet)` This will create a new `XSLTransformer` by reading the stylesheet from the specified `Document`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES