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
 

Fields in org.jdom declared as Document
protected  Document ProcessingInstruction.document
          Document node if PI is outside the root element, or null if none
protected  Document Comment.document
          Document node if comment is outside the root element, or null if none
protected  Document EntityRef.document
          Containing document node, or null if none
protected  Document DocType.document
          The document having this DOCTYPE
 

Methods in org.jdom that return Document
 Document ProcessingInstruction.getDocument()
           This retrieves the owning Document for this PI, or null if not a currently a member of a Document.
 Document Text.getDocument()
           This retrieves the owning Document for this Text, or null if not a currently a member of a Document.
 Document Comment.getDocument()
           This retrieves the owning Document for this Comment, or null if not a currently a member of a Document.
 Document EntityRef.getDocument()
           This retrieves the owning Document for this Entity, or null if not a currently a member of a 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.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.setContent(List newContent)
           This will set all content for the Document.
 Document Document.setProcessingInstructions(List pis)
          Deprecated. Deprecated in beta7, use getContent() and add PIs manually
 Document Document.setMixedContent(List mixedContent)
          Deprecated. Deprecated in beta7, use setContent(List) instead
 Document Attribute.getDocument()
           This retrieves the owning Document for this Attribute, or null if not a currently a member of a Document.
 Document DocType.getDocument()
           This retrieves the owning Document for this DocType, or null if not a currently a member of a Document.
 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  ProcessingInstruction ProcessingInstruction.setDocument(Document document)
           This sets the Document parent of this PI.
protected  Comment Comment.setDocument(Document document)
           This sets the Document parent of this comment.
protected  DocType DocType.setDocument(Document document)
           This sets the Document holding this doctype.
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, 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.
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, DocType added, String reason)
           This will create an Exception indicating that the addition of the DocType to the supplied document is not allowed.
 

Uses of Document in org.jdom.input
 

Methods in org.jdom.input that return Document
 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(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(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(Document domDocument)
           This will build a JDOM tree from an existing DOM tree.
 Document DefaultJDOMFactory.document(Element rootElement, DocType docType)
           
 Document DefaultJDOMFactory.document(Element rootElement)
           
 Document SAXHandler.getDocument()
           Returns the document.
 Document SAXBuilder.build(InputSource in)
           This builds a document from the supplied input source.
 Document SAXBuilder.build(InputStream in)
           This builds a document from the supplied input stream.
 Document SAXBuilder.build(File file)
           This builds a document from the supplied filename.
 Document SAXBuilder.build(URL url)
           This builds a document from the supplied URL.
 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 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 JDOMFactory.document(Element rootElement)
           This will create a new Document, with the supplied Element as the root element, and no DocType declaration.
 

Constructors in org.jdom.input with parameters of type Document
SAXHandler.SAXHandler(Document document)
          Deprecated. Deprecated in beta7, use SAXHandler() instead and let SAXHandler create the Document, then retrieve it with getDocument()
 

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 JDOM Document, firing off the SAX events that have been registered.
 Document DOMOutputter.output(Document document)
           This converts the JDOM Document parameter to a DOM Document, returning the DOM version.
 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 XMLOutputter.outputString(Document doc)
          Return a string representing a document.
protected  void XMLOutputter.printDeclaration(Document doc, Writer out, String encoding)
           This will write the declaration to the given Writer.
 

Uses of Document in org.jdom.transform
 

Methods in org.jdom.transform that return Document
 Document JDOMResult.getDocument()
          Returns the document produced as result of an XSL Transformation.
 Document JDOMSource.getDocument()
          Returns the source document used by this TRaX source.
 

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.
 

Constructors in org.jdom.transform with parameters of type Document
JDOMSource.JDOMSource(Document source)
          Creates a JDOM TRaX source wrapping a JDOM document.
 



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