| Package | Description |
|---|---|
| org.jdom2 |
Classes representing the components of an XML document.
|
| org.jdom2.adapters |
Classes to create specific DOM Document instances.
|
| org.jdom2.filter |
Classes to both filter and generically type-cast nodes of a document
based on type, name, value, or other aspects, and to boolean
AND/OR/NEGATE these rules.
|
| org.jdom2.input |
Classes to build JDOM documents from various sources.
|
| org.jdom2.input.stax |
Support classes for building JDOM documents and content using StAX readers.
|
| org.jdom2.located |
Extended JDOM Content Classes that contain location coordinates.
|
| org.jdom2.output |
Classes to output JDOM documents to various destinations.
|
| org.jdom2.output.support |
Classes used to implement output functionality that are not part of the
actual Output API, but rather part of the implementation.
|
| Modifier and Type | Method | Description |
|---|---|---|
DocType |
DocType.clone() |
|
DocType |
DocType.detach() |
|
DocType |
DefaultJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
|
DocType |
DefaultJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
|
DocType |
DefaultJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
|
DocType |
DefaultJDOMFactory.docType(java.lang.String elementName) |
|
DocType |
DefaultJDOMFactory.docType(java.lang.String elementName,
java.lang.String systemID) |
|
DocType |
DefaultJDOMFactory.docType(java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
|
DocType |
JDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
This will create the
DocType with
the specified element name |
DocType |
JDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
This will create the
DocType with
the specified element name and reference to an
external DTD. |
DocType |
JDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
This will create the
DocType with
the specified element name and a reference to an
external DTD. |
DocType |
JDOMFactory.docType(java.lang.String elementName) |
This will create the
DocType with
the specified element name |
DocType |
JDOMFactory.docType(java.lang.String elementName,
java.lang.String systemID) |
This will create the
DocType with
the specified element name and reference to an
external DTD. |
DocType |
JDOMFactory.docType(java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
This will create the
DocType with
the specified element name and a reference to an
external DTD. |
DocType |
SlimJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
|
DocType |
SlimJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
|
DocType |
SlimJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
|
DocType |
UncheckedJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
|
DocType |
UncheckedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
|
DocType |
UncheckedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
|
DocType |
Document.getDocType() |
|
DocType |
DocType.setElementName(java.lang.String elementName) |
This will set the root element name declared by this
DOCTYPE declaration.
|
protected DocType |
DocType.setParent(Parent parent) |
|
DocType |
DocType.setPublicID(java.lang.String publicID) |
This will set the public ID of an externally
referenced DTD.
|
DocType |
DocType.setSystemID(java.lang.String systemID) |
This will set the system ID of an externally
referenced DTD.
|
| Modifier and Type | Method | Description |
|---|---|---|
Document |
DefaultJDOMFactory.document(Element rootElement,
DocType docType) |
|
Document |
DefaultJDOMFactory.document(Element rootElement,
DocType docType,
java.lang.String baseURI) |
|
Document |
JDOMFactory.document(Element rootElement,
DocType docType) |
|
Document |
JDOMFactory.document(Element rootElement,
DocType docType,
java.lang.String baseURI) |
|
Document |
UncheckedJDOMFactory.document(Element rootElement,
DocType docType) |
|
Document |
UncheckedJDOMFactory.document(Element rootElement,
DocType docType,
java.lang.String baseURI) |
|
Document |
Document.setDocType(DocType docType) |
This will set the
declaration for this Document. |
| Constructor | Description |
|---|---|
Document(Element rootElement,
DocType docType) |
|
Document(Element rootElement,
DocType docType,
java.lang.String baseURI) |
| Modifier and Type | Method | Description |
|---|---|---|
org.w3c.dom.Document |
AbstractDOMAdapter.createDocument(DocType doctype) |
This creates an empty
Document object based
on a specific parser implementation with the given DOCTYPE. |
org.w3c.dom.Document |
DOMAdapter.createDocument(DocType doctype) |
This creates an empty
Document object based
on a specific parser implementation with the given DOCTYPE. |
| Modifier and Type | Method | Description |
|---|---|---|
static Filter<DocType> |
Filters.doctype() |
Return a Filter that matches any
DocType data. |
| Modifier and Type | Method | Description |
|---|---|---|
DocType |
DOMBuilder.build(org.w3c.dom.DocumentType doctype) |
This will build a JDOM Element from an existing DOM Element
|
| Modifier and Type | Method | Description |
|---|---|---|
static DocType |
DTDParser.parse(java.lang.String input,
JDOMFactory factory) |
Parse out a DOCTYPE declaration as supplied by the standard StAX
readers.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
LocatedDocType |
An XML DOCTYPE declaration.
|
| Modifier and Type | Method | Description |
|---|---|---|
DocType |
LocatedJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
|
DocType |
LocatedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
|
DocType |
LocatedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
| Modifier and Type | Method | Description |
|---|---|---|
org.w3c.dom.DocumentType |
DOMOutputter.output(DocType doctype) |
This converts the JDOM
DocType parameter to a DOM DocumentType,
returning the DOM version. |
void |
StAXEventOutputter.output(DocType doctype,
javax.xml.stream.util.XMLEventConsumer out) |
Print out the
. |
void |
StAXStreamOutputter.output(DocType doctype,
javax.xml.stream.XMLStreamWriter out) |
Print out the
. |
void |
XMLOutputter.output(DocType doctype,
java.io.OutputStream out) |
This will print the
to the given
OutputStream. |
void |
XMLOutputter.output(DocType doctype,
java.io.Writer out) |
Print out the
. |
java.lang.String |
XMLOutputter.outputString(DocType doctype) |
Return a string representing a
DocType. |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
AbstractSAXOutputProcessor.printDocType(SAXTarget out,
FormatStack fstack,
DocType docType) |
This will handle printing of a
DocType. |
protected void |
AbstractStAXEventProcessor.printDocType(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
javax.xml.stream.XMLEventFactory eventfactory,
DocType docType) |
This will handle printing of a
DocType. |
protected void |
AbstractStAXStreamProcessor.printDocType(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
DocType docType) |
This will handle printing of a
DocType. |
protected void |
AbstractXMLOutputProcessor.printDocType(java.io.Writer out,
FormatStack fstack,
DocType docType) |
This will handle printing of a
DocType. |
void |
AbstractSAXOutputProcessor.process(SAXTarget out,
Format format,
DocType doctype) |
|
void |
AbstractStAXEventProcessor.process(javax.xml.stream.util.XMLEventConsumer out,
Format format,
javax.xml.stream.XMLEventFactory eventfactory,
DocType doctype) |
|
void |
AbstractStAXStreamProcessor.process(javax.xml.stream.XMLStreamWriter out,
Format format,
DocType doctype) |
|
void |
AbstractXMLOutputProcessor.process(java.io.Writer out,
Format format,
DocType doctype) |
|
void |
SAXOutputProcessor.process(SAXTarget out,
Format format,
DocType doctype) |
Print out the
. |
void |
StAXEventProcessor.process(javax.xml.stream.util.XMLEventConsumer out,
Format format,
javax.xml.stream.XMLEventFactory eventfactory,
DocType doctype) |
Print out the
. |
void |
StAXStreamProcessor.process(javax.xml.stream.XMLStreamWriter out,
Format format,
DocType doctype) |
Print out the
. |
void |
XMLOutputProcessor.process(java.io.Writer out,
Format format,
DocType doctype) |
Print out the
. |
Copyright ? 2019 Jason Hunter, Brett McLaughlin. All Rights Reserved.