| |||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| 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 | |
Document | Comment.getDocument()This retrieves the owning Document for
this Comment, or null if not a currently a member of a
Document. |
Document | Document.addContent(Comment comment)This will add a comment to the Document. |
Document | Document.addContent(ProcessingInstruction pi)Adds the specified PI to the document. |
Document | Document.setDocType(DocType docType)This will set the DocType
declaration for this Document. |
Document | Document.setMixedContent(List content)This will set all content for the Document. |
Document | Document.setProcessingInstructions(List pis)This sets the PIs for this Document to those in the
List |
Document | Document.setRootElement(Element rootElement)This sets the root Element for the
Document. |
Document | Element.getDocument()This retrieves the owning Document for
this Element, or null if not a currently a member of a
Document. |
Document | Entity.getDocument()This retrieves the owning Document for
this Entity, or null if not a currently a member of a
Document. |
Document | ProcessingInstruction.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 | |
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 | 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 | 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 | DOMBuilder.build(org.w3c.dom.Document domDocument)This will build a JDOM tree from an existing DOM tree. |
Document | SAXBuilder.build(File file)This builds a document from the supplied filename. |
Document | SAXBuilder.build(InputStream in, String systemId)This builds a document from the supplied input stream. |
Document | SAXBuilder.build(InputStream in)This builds a document from the supplied input stream. |
Document | SAXBuilder.build(Reader characterStream, String SystemId)This builds a document from the supplied Reader. |
Document | SAXBuilder.build(Reader characterStream)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. |
| Uses of Document in org.jdom.output |
| Methods in org.jdom.output with parameters of type Document | |
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, OutputStream out)This will print the Document to the given output stream. |
void | XMLOutputter.output(Document doc, Writer writer)This will print the Document to the given
Writer. |
String | XMLOutputter.outputString(Document doc)Return a string representing a document. |
| |||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||