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 and 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 and Description |
---|---|
JDOMFactory |
StAXEventBuilder.getFactory()
Returns the current
JDOMFactory in use. |
JDOMFactory |
StAXStreamBuilder.getFactory()
Returns the current
JDOMFactory in use. |
JDOMFactory |
DOMBuilder.getFactory()
Returns the current
JDOMFactory in use. |
JDOMFactory |
SAXBuilder.getFactory()
Deprecated.
as it is replaced by
SAXBuilder.getJDOMFactory() |
JDOMFactory |
SAXBuilder.getJDOMFactory()
Returns the current
JDOMFactory in use. |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
SAXBuilder.setJDOMFactory(JDOMFactory factory)
This sets a custom JDOMFactory for the builder.
|
Constructor and Description |
---|
SAXBuilder(XMLReaderJDOMFactory xmlreaderfactory,
SAXHandlerFactory handlerfactory,
JDOMFactory jdomfactory)
Creates a new SAXBuilder.
|
StAXStreamWriter(JDOMFactory fac,
boolean repairnamespace)
Create a StAXStreamWriter with the specified JDOMFactory for creating
JDOM Content.
|
Modifier and Type | Method and Description |
---|---|
JDOMFactory |
SAXHandler.getFactory()
Returns the factory used for constructing objects.
|
JDOMFactory |
SAXEngine.getJDOMFactory()
Returns the current
JDOMFactory in use. |
JDOMFactory |
SAXBuilderEngine.getJDOMFactory() |
Modifier and Type | Method and Description |
---|---|
SAXHandler |
SAXHandlerFactory.createSAXHandler(JDOMFactory factory)
Create a new SAXHandler instance for SAXBuilder to use.
|
SAXHandler |
DefaultSAXHandlerFactory.createSAXHandler(JDOMFactory factory) |
Constructor and Description |
---|
SAXHandler(JDOMFactory factory)
This will create a new
SAXHandler that listens to SAX events
and creates a JDOM Document. |
Modifier and Type | Method and 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 and 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 and 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 and 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 © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.