Uses of Class
org.jdom.Document

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

Uses of Document in org.jdom
 

Constructors in org.jdom with parameters of type Document
IllegalAddException.IllegalAddException(Document base, Comment added, String reason)
           This will create an Exception indicating that the addition of the Comment supplied as content to the supplied document is not allowed.
IllegalAddException.IllegalAddException(Document base, Element added, String reason)
           This will create an Exception indicating that the addition of the Element supplied as a child of the document is not allowed.
IllegalAddException.IllegalAddException(Document base, ProcessingInstruction added, String reason)
           This will create an Exception indicating that the addition of the ProcessingInstruction supplied as content to the supplied document is not allowed.
 

Methods in org.jdom that return Document
DocumentComment.getDocument()
           This retrieves the owning Document for this Comment, or null if not a currently a member of a Document.
DocumentDocument.addContent(Comment comment)
           This will add a comment to the Document.
DocumentDocument.addContent(ProcessingInstruction pi)
           Adds the specified PI to the document.
DocumentDocument.setDocType(DocType docType)
           This will set the DocType declaration for this Document.
DocumentDocument.setMixedContent(List content)
           This will set all content for the Document.
DocumentDocument.setProcessingInstructions(List pis)
           This sets the PIs for this Document to those in the List
DocumentDocument.setRootElement(Element rootElement)
           This sets the root Element for the Document.
DocumentElement.getDocument()
           This retrieves the owning Document for this Element, or null if not a currently a member of a Document.
DocumentEntity.getDocument()
           This retrieves the owning Document for this Entity, or null if not a currently a member of a Document.
DocumentProcessingInstruction.getDocument()
           This retrieves the owning Document for this PI, or null if not a currently a member of a Document.
 

Uses of Document in org.jdom.input
 

Constructors in org.jdom.input with parameters of type Document
SAXHandler.SAXHandler(Document document)
           This will set the Document to use.
 

Methods in org.jdom.input that return Document
DocumentDOMBuilder.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.
DocumentDOMBuilder.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.
DocumentDOMBuilder.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.
DocumentDOMBuilder.build(org.w3c.dom.Document domDocument)
           This will build a JDOM tree from an existing DOM tree.
DocumentSAXBuilder.build(File file)
           This builds a document from the supplied filename.
DocumentSAXBuilder.build(InputStream in, String systemId)
           This builds a document from the supplied input stream.
DocumentSAXBuilder.build(InputStream in)
           This builds a document from the supplied input stream.
DocumentSAXBuilder.build(Reader characterStream, String SystemId)
           This builds a document from the supplied Reader.
DocumentSAXBuilder.build(Reader characterStream)
           This builds a document from the supplied Reader.
DocumentSAXBuilder.build(String systemId)
           This builds a document from the supplied URI.
DocumentSAXBuilder.build(URL url)
           This builds a document from the supplied URL.
 

Uses of Document in org.jdom.output
 

Methods in org.jdom.output with parameters of type Document
org.w3c.dom.DocumentDOMOutputter.output(Document document)
           This converts the JDOM Document parameter to a DOM Document, returning the DOM version.
voidSAXOutputter.output(Document document)
           This will output the JDOM Document, firing off the SAX events that have been registered.
voidXMLOutputter.output(Document doc, OutputStream out)
           This will print the Document to the given output stream.
voidXMLOutputter.output(Document doc, Writer writer)
           This will print the Document to the given Writer.
StringXMLOutputter.outputString(Document doc)
          Return a string representing a document.