Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.jdom.DocType

Packages that use DocType
org.jdom |
org.jdom.adapters |
org.jdom.input |
org.jdom.output |

Uses of DocType in org.jdom

Fields in org.jdom declared as DocType
`protected DocType` | `Document.docType` The ``DocType`` declaration

Methods in org.jdom that return DocType
`DocType` | `Document.getDocType()` This will return the ``DocType`` declaration for this `Document`, or `null` if none exists.
`DocType` | `DocType.setPublicID(String publicID)` This will set the public ID of an externally referenced DTD.
`DocType` | `DocType.setSystemID(String systemID)` This will set the system ID of an externally referenced DTD.
`protected DocType` | `DocType.setDocument(Document document)` This sets the ``Document`` holding this doctype.

Methods in org.jdom with parameters of type DocType
`Document` | `Document.setDocType(DocType docType)` This will set the ``DocType`` declaration for this `Document`.

Constructors in org.jdom with parameters of type DocType
`Document.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.Document(List content, DocType docType)` This will create a new `Document`, with the supplied list of content, and the supplied ``DocType`` declaration.
`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 DocType in org.jdom.adapters

Methods in org.jdom.adapters with parameters of type DocType
`Document` | `DOMAdapter.createDocument(DocType doctype)` This creates an empty `Document` object based on a specific parser implementation with the given DOCTYPE.
`Document` | `AbstractDOMAdapter.createDocument(DocType doctype)` This creates an empty `Document` object based on a specific parser implementation with the given DOCTYPE.

Uses of DocType in org.jdom.input

Methods in org.jdom.input that return DocType
`DocType` | `DefaultJDOMFactory.docType(String elementName, String publicID, String systemID)`
`DocType` | `DefaultJDOMFactory.docType(String elementName, String systemID)`
`DocType` | `DefaultJDOMFactory.docType(String elementName)`
`DocType` | `JDOMFactory.docType(String elementName, String publicID, String systemID)` This will create the `DocType` with the specified element name and a reference to an external DTD.
`DocType` | `JDOMFactory.docType(String elementName, String systemID)` This will create the `DocType` with the specified element name and reference to an external DTD.
`DocType` | `JDOMFactory.docType(String elementName)` This will create the `DocType` with the specified element name

Methods in org.jdom.input with parameters of type DocType
`Document` | `DefaultJDOMFactory.document(Element rootElement, DocType docType)`
`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.

Uses of DocType in org.jdom.output

Methods in org.jdom.output with parameters of type DocType
`void` | `XMLOutputter.output(DocType doctype, Writer out)` Print out a ``DocType``
`void` | `XMLOutputter.output(DocType doctype, OutputStream out)` Print out a ``DocType``
`String` | `XMLOutputter.outputString(DocType doctype)` Return a string representing a DocType.
`protected void` | `XMLOutputter.printDocType(DocType docType, Writer out)` This will write the DOCTYPE declaration if one exists.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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