Uses of Class
org.jdom.Document

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

Uses of Document in org.jdom
 

Fields in org.jdom declared as Document
protected  Document Element.document
          The Document containing this element, if it is the root element
 

Methods in org.jdom that return Document
 Document Document.setRootElement(Element rootElement)
           This sets the root Element for the Document.
 Document Document.setDocType(DocType docType)
           This will set the DocType declaration for this Document.
 Document Document.setProcessingInstructions(java.util.List pis)
           This sets the PIs for this Document to those in the List
 Document Document.addContent(ProcessingInstruction pi)
           Adds the specified PI to the document.
 Document Document.addContent(Comment comment)
           This will add a comment to the Document.
 Document Document.addContent(Element element)
           This will add an element to the Document.
 Document Document.setMixedContent(java.util.List content)
           This will set all content for the Document.
 Document Document.addComment(Comment c)
          Deprecated. use addContent(Comment) instead
 Document Document.addProcessingInstruction(ProcessingInstruction pi)
          Deprecated. use addContent(ProcessingInstruction) instead
 Document Document.addProcessingInstruction(java.lang.String target, java.lang.String data)
          Deprecated. use addContent(ProcessingInstruction) instead
 Document Document.addProcessingInstruction(java.lang.String target, java.util.Map data)
          Deprecated. use addContent(ProcessingInstruction) instead
 Document Element.getDocument()
           This retrieves the owning Document for this Element, or null if not a currently a member of a Document.
 

Methods in org.jdom with parameters of type Document
protected  Element Element.setDocument(Document document)
           This sets the Document parent of this element and makes it the root element.
 

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

Uses of Document in org.jdom.input
 

Methods in org.jdom.input that return Document
 Document DOMBuilder.build(java.io.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(java.io.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(java.net.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.
protected  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.File file)
           This builds a document from the supplied filename.
 Document SAXBuilder.build(java.net.URL url)
           This builds a document from the supplied URL.
 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.
 

Uses of Document in org.jdom.output
 

Methods in org.jdom.output with parameters of type Document
 void SAXOutputter.output(Document document)
           This will output the Document, firing off SAX events.
 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 writer)
           This will print the Document to the given Writer.
 java.lang.String XMLOutputter.outputString(Document doc)
          Return a string representing a document.
 void XMLOutputter.printDeclaration(Document doc, java.io.Writer out, java.lang.String encoding)
           This will write the declaration to the given Writer.
 org.w3c.dom.Document DOMOutputter.output(Document document)
           This converts the JDOM Document parameter to a DOM Document, returning the DOM version.
 org.w3c.dom.Document DOMOutputter.output(Document document, java.lang.String domAdapterClass)
           This converts the JDOM Document parameter to a DOM Document, returning the DOM version.
 



Copyright © 2000 Brett McLaughlin, Jason Hunter. All Rights Reserved.