Package | Description |
---|---|
org.jdom |
Classes to represent the components of an XML document.
|
org.jdom.adapters |
Classes to interface with various DOM implementations.
|
org.jdom.output |
Classes to output JDOM documents to various destinations.
|
Modifier and Type | Method and Description |
---|---|
DocType |
UncheckedJDOMFactory.docType(String elementName) |
DocType |
JDOMFactory.docType(String elementName)
This will create the
DocType with
the specified element name |
DocType |
DefaultJDOMFactory.docType(String elementName) |
DocType |
UncheckedJDOMFactory.docType(String elementName,
String systemID) |
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 systemID) |
DocType |
UncheckedJDOMFactory.docType(String elementName,
String publicID,
String systemID) |
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 |
DefaultJDOMFactory.docType(String elementName,
String publicID,
String systemID) |
DocType |
Document.getDocType()
|
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.
|
Modifier and Type | Method and Description |
---|---|
Document |
UncheckedJDOMFactory.document(Element rootElement,
DocType docType) |
Document |
JDOMFactory.document(Element rootElement,
DocType docType)
|
Document |
DefaultJDOMFactory.document(Element rootElement,
DocType docType) |
Document |
UncheckedJDOMFactory.document(Element rootElement,
DocType docType,
String baseURI) |
Document |
JDOMFactory.document(Element rootElement,
DocType docType,
String baseURI)
|
Document |
DefaultJDOMFactory.document(Element rootElement,
DocType docType,
String baseURI) |
Document |
Document.setDocType(DocType docType)
This will set the
declaration for this Document . |
Constructor and Description |
---|
Document(Element rootElement,
DocType docType)
|
Document(Element rootElement,
DocType docType,
String baseURI)
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
void |
XMLOutputter.output(DocType doctype,
OutputStream out)
Print out the
. |
void |
XMLOutputter.output(DocType doctype,
Writer out)
Print out the
. |
String |
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.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.