Uses of Class org.jdom.DocType

Uses in package org.jdom

Constructors with parameter type org.jdom.DocType

Document.Document(List newContent, DocType docType)
This will create a new Document, with the supplied list of content, and the supplied DocType declaration.
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.
This will create an Exception indicating that the addition of the DocType to the Document is illegal.

Fields of type org.jdom.DocType

DocType
The DocType declaration.

Methods with parameter type org.jdom.DocType

Document
This will set the DocType declaration for this Document.

Methods with return type org.jdom.DocType

DocType
This will return the DocType declaration for this Document, or null if none exists.
DocType
This sets the Document holding this doctype.
DocType
DocType.setElementName(String elementName)
This will set the root element name declared by this DOCTYPE declaration.
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.

Uses in package org.jdom.adapters

Methods with parameter type org.jdom.DocType

Document
This creates an empty Document object based on a specific parser implementation with the given DOCTYPE.
Document
This creates an empty Document object based on a specific parser implementation with the given DOCTYPE.

Uses in package org.jdom.input

Methods with parameter type org.jdom.DocType

Document
DefaultJDOMFactory.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, DocType docType)
This will create a new Document, with the supplied Element as the root element and the supplied DocType declaration.

Methods with return type org.jdom.DocType

DocType
DefaultJDOMFactory.docType(String elementName)
This will create the DocType with the specified element name
DocType
JDOMFactory.docType(String elementName)
This will create the DocType with the specified element name
DocType
DefaultJDOMFactory.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, String systemID)
This will create the DocType with the specified element name and reference to an external DTD.
DocType
DefaultJDOMFactory.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 publicID, String systemID)
This will create the DocType with the specified element name and a reference to an external DTD.

Uses in package org.jdom.output

Methods with parameter type org.jdom.DocType

void
XMLOutputter.output(DocType doctype, OutputStream out)
Print out the DocType.
void
XMLOutputter.output(DocType doctype, Writer out)
Print out the DocType.
String
Return a string representing a DocType.
void
XMLOutputter.printDocType(DocType docType, Writer out)
This handle printing the DOCTYPE declaration if one exists.

Copyright B) 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.