Uses of Class
org.cdmckay.coffeedom.Document

Packages that use Document
org.cdmckay.coffeedom Classes to represent the components of an XML document. 
org.cdmckay.coffeedom.input Classes to build CoffeeDOM documents from various sources. 
org.cdmckay.coffeedom.output Classes to output CoffeeDOM documents to various destinations. 
org.cdmckay.coffeedom.transform Classes to help with transformations, based on the JAXP TrAX classes. 
 

Uses of Document in org.cdmckay.coffeedom
 

Methods in org.cdmckay.coffeedom that return Document
 Document Document.addContent(Collection<? extends Content> newContents)
          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, Collection<? extends Content> contents)
          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 Document.clone()
          This will return a deep clone of this Document.
 Document UncheckedCoffeeDOMFactory.document(Element rootElement)
           
 Document DefaultCoffeeDOMFactory.document(Element rootElement)
           
 Document CoffeeDOMFactory.document(Element rootElement)
          This will create a new Document, with the supplied Element as the root element, and no DocType declaration.
 Document UncheckedCoffeeDOMFactory.document(Element rootElement, DocType docType)
           
 Document DefaultCoffeeDOMFactory.document(Element rootElement, DocType docType)
           
 Document CoffeeDOMFactory.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 UncheckedCoffeeDOMFactory.document(Element rootElement, DocType docType, String baseURI)
           
 Document DefaultCoffeeDOMFactory.document(Element rootElement, DocType docType, String baseURI)
           
 Document CoffeeDOMFactory.document(Element rootElement, DocType docType, String baseURI)
          This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.
 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.getDocument()
           
 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 Attribute.getDocument()
          This retrieves the owning Document for this Attribute, or null if not a currently a member of a Document.
 Document DocType.getParent()
          Get the parent of the DocType, which has to be a Document (or null).
 Document Document.setContent(Collection<? extends Content> newContents)
          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, Collection<? extends Content> 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.cdmckay.coffeedom.input
 

Methods in org.cdmckay.coffeedom.input that return Document
 Document DOMBuilder.build(Document domDocument)
          This will build a CoffeeDOM tree from an existing DOM tree.
 Document SAXBuilder.build(File file)
           This builds a document from the supplied filename.
 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(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 SAXBuilder.build(URL url)
           This builds a document from the supplied URL.
 Document SAXHandler.getDocument()
          Returns the document.
 Document CoffeeDOMParseException.getPartialDocument()
          Returns the partial document that was successfully built before the error occurred.
 

Constructors in org.cdmckay.coffeedom.input with parameters of type Document
CoffeeDOMParseException(String message, 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.cdmckay.coffeedom.output
 

Methods in org.cdmckay.coffeedom.output with parameters of type Document
 void SAXOutputter.output(Document document)
          This will output the CoffeeDOM Document, firing off the SAX events that have been registered.
 Document DOMOutputter.output(Document document)
          This converts the CoffeeDOM 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(Writer out, Document doc, String encoding)
          This will handle printing of the declaration.
 

Uses of Document in org.cdmckay.coffeedom.transform
 

Methods in org.cdmckay.coffeedom.transform that return Document
 Document CoffeeDOMSource.getDocument()
          Returns the source document used by this TrAX source.
 Document CoffeeDOMResult.getDocument()
          Returns the result of an XSL Transformation as a CoffeeDOM document.
 Document XSLTransformer.transform(Document inputDoc)
          Transforms the given document to an output document.
 Document XSLTransformer.transform(Document inputDoc, EntityResolver resolver)
          Transforms the given document to an output document.
 

Methods in org.cdmckay.coffeedom.transform with parameters of type Document
 void CoffeeDOMSource.setDocument(Document source)
          Sets the source document used by this TrAX source.
 void CoffeeDOMResult.setDocument(Document document)
          Sets the document produced as result of an XSL Transformation.
 Document XSLTransformer.transform(Document inputDoc)
          Transforms the given document to an output document.
 Document XSLTransformer.transform(Document inputDoc, EntityResolver resolver)
          Transforms the given document to an output document.
 

Constructors in org.cdmckay.coffeedom.transform with parameters of type Document
CoffeeDOMSource(Document source)
          Creates a CoffeeDOM TrAX source wrapping a CoffeeDOM document.
CoffeeDOMSource(Document source, EntityResolver resolver)
          Creates a CoffeeDOM TrAX source wrapping a CoffeeDOM 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.
 



Copyright © 2011. All Rights Reserved.