| Package | Description |
|---|---|
| org.jdom2 |
Classes representing the components of an XML document.
|
| org.jdom2.input |
Classes to build JDOM documents from various sources.
|
| org.jdom2.input.sax |
Support classes for building JDOM documents and content using SAX parsers.
|
| 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.transform |
Classes to help with transformations, based on the JAXP TrAX classes.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DefaultJDOMFactory |
Creates the standard top-level JDOM classes (Element, Document, Comment,
etc).
|
class |
SlimJDOMFactory |
This JDOMFactory instance reduces the amount of memory used by JDOM content.
|
class |
UncheckedJDOMFactory |
Special factory for building documents without any content or structure
checking.
|
| Modifier and Type | Method | Description |
|---|---|---|
JDOMFactory |
DOMBuilder.getFactory() |
Returns the current
JDOMFactory in use. |
JDOMFactory |
SAXBuilder.getFactory() |
Deprecated.
as it is replaced by
SAXBuilder.getJDOMFactory() |
JDOMFactory |
StAXEventBuilder.getFactory() |
Returns the current
JDOMFactory in use. |
JDOMFactory |
StAXStreamBuilder.getFactory() |
Returns the current
JDOMFactory in use. |
JDOMFactory |
SAXBuilder.getJDOMFactory() |
Returns the current
JDOMFactory in use. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DOMBuilder.setFactory(JDOMFactory factory) |
This sets a custom JDOMFactory for the builder.
|
void |
SAXBuilder.setFactory(JDOMFactory factory) |
Deprecated.
as it is replaced by
SAXBuilder.setJDOMFactory(JDOMFactory) |
void |
StAXEventBuilder.setFactory(JDOMFactory factory) |
This sets a custom JDOMFactory for the builder.
|
void |
StAXStreamBuilder.setFactory(JDOMFactory factory) |
This sets a custom JDOMFactory for the builder.
|
void |
SAXBuilder.setJDOMFactory(JDOMFactory factory) |
This sets a custom JDOMFactory for the builder.
|
| Constructor | Description |
|---|---|
SAXBuilder(XMLReaderJDOMFactory xmlreaderfactory,
SAXHandlerFactory handlerfactory,
JDOMFactory jdomfactory) |
Creates a new SAXBuilder.
|
| Modifier and Type | Method | Description |
|---|---|---|
JDOMFactory |
SAXHandler.getFactory() |
Returns the factory used for constructing objects.
|
JDOMFactory |
SAXBuilderEngine.getJDOMFactory() |
|
JDOMFactory |
SAXEngine.getJDOMFactory() |
Returns the current
JDOMFactory in use. |
| Modifier and Type | Method | Description |
|---|---|---|
SAXHandler |
DefaultSAXHandlerFactory.createSAXHandler(JDOMFactory factory) |
|
SAXHandler |
SAXHandlerFactory.createSAXHandler(JDOMFactory factory) |
Create a new SAXHandler instance for SAXBuilder to use.
|
| Constructor | Description |
|---|---|
SAXHandler(JDOMFactory factory) |
This will create a new
SAXHandler that listens to SAX events
and creates a JDOM Document. |
| 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 |
LocatedJDOMFactory |
All Content instances (Element, Comment, CDATA, DocType, Text, EntityRef,
and ProcessingInstruction) will implement
Located, and will
have the values set appropriately. |
| Modifier and Type | Method | Description |
|---|---|---|
JDOMFactory |
JDOMResult.getFactory() |
Returns the custom JDOMFactory used to build the transformation
result.
|
JDOMFactory |
XSLTransformer.getFactory() |
Returns the custom JDOMFactory used to build the transformation
result.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
JDOMResult.setFactory(JDOMFactory factory) |
Sets a custom JDOMFactory to use when building the
transformation result.
|
void |
XSLTransformer.setFactory(JDOMFactory factory) |
Sets a custom JDOMFactory to use when building the
transformation result.
|
Copyright ? 2019 Jason Hunter, Brett McLaughlin. All Rights Reserved.