Uses of Class
org.jdom.DocType
Packages that use DocType
Package
Description
Classes to represent the components of an XML document.
Classes to interface with various DOM implementations.
Classes to output JDOM documents to various destinations.
-
Uses of DocType in org.jdom
Modifier and TypeMethodDescriptionThis will create theDocType
with the specified element nameThis will create theDocType
with the specified element name and reference to an external DTD.This will create theDocType
with the specified element name and a reference to an external DTD.Document.getDocType()
DocType.setElementName
(String elementName) This will set the root element name declared by this DOCTYPE declaration.DocType.setPublicID
(String publicID) This will set the public ID of an externally referenced DTD.DocType.setSystemID
(String systemID) This will set the system ID of an externally referenced DTD.Modifier and TypeMethodDescriptionDocument.setDocType
(DocType docType) This will set the
declaration for thisDocType
Document
.ModifierConstructorDescription -
Uses of DocType in org.jdom.adapters
Methods in org.jdom.adapters with parameters of type DocTypeModifier and TypeMethodDescriptionAbstractDOMAdapter.createDocument
(DocType doctype) This creates an emptyDocument
object based on a specific parser implementation with the given DOCTYPE.DOMAdapter.createDocument
(DocType doctype) This creates an emptyDocument
object based on a specific parser implementation with the given DOCTYPE. -
Uses of DocType in org.jdom.output
Methods in org.jdom.output with parameters of type DocTypeModifier and TypeMethodDescriptionvoid
XMLOutputter.output
(DocType doctype, OutputStream out) Print out the
.DocType
void
Print out the
.DocType
XMLOutputter.outputString
(DocType doctype) Return a string representing a DocType.protected void
XMLOutputter.printDocType
(Writer out, DocType docType) This handle printing the DOCTYPE declaration if one exists.