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.input |
Classes to build JDOM documents from various sources.
|
org.jdom.output |
Classes to output JDOM documents to various destinations.
|
org.jdom.transform |
Classes to help with transformations, based on the JAXP TrAX classes.
|
org.jdom.xpath |
Support for XPath from within JDOM.
|
Modifier and Type | Class and Description |
---|---|
class |
DataConversionException
Thrown when a data conversion from a string to value type fails, such as
can happen with the
Attribute convenience getter functions. |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
XML4JDOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
org.w3c.dom.Document |
OracleV2DOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
org.w3c.dom.Document |
JAXPDOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
abstract org.w3c.dom.Document |
AbstractDOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
org.w3c.dom.Document |
XercesDOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
org.w3c.dom.Document |
OracleV1DOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
org.w3c.dom.Document |
CrimsonDOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
org.w3c.dom.Document |
DOMAdapter.createDocument()
This creates an empty
Document object based
on a specific parser implementation. |
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. |
org.w3c.dom.Document |
AbstractDOMAdapter.getDocument(java.io.File filename,
boolean validate)
This creates a new
from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
org.w3c.dom.Document |
DOMAdapter.getDocument(java.io.File filename,
boolean validate)
This creates a new
Document from a
given filename by letting a DOM parser handle parsing from the file. |
org.w3c.dom.Document |
XML4JDOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
org.w3c.dom.Document |
OracleV2DOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
org.w3c.dom.Document |
JAXPDOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
from an
existing InputStream by letting a JAXP
parser handle parsing using the supplied stream. |
abstract org.w3c.dom.Document |
AbstractDOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
org.w3c.dom.Document |
XercesDOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
org.w3c.dom.Document |
OracleV1DOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
org.w3c.dom.Document |
CrimsonDOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
org.w3c.dom.Document |
DOMAdapter.getDocument(java.io.InputStream in,
boolean validate)
This creates a new
Document from an
existing InputStream by letting a DOM
parser handle parsing using the supplied stream. |
Modifier and Type | Class and Description |
---|---|
class |
JDOMParseException
Thrown during parse errors, with information about where the parse error
occurred as well as access to the partially built document.
|
Modifier and Type | Method and Description |
---|---|
Document |
SAXBuilder.build(java.io.File file)
This builds a document from the supplied
filename.
|
Document |
SAXBuilder.build(org.xml.sax.InputSource in)
This builds a document from the supplied
input source.
|
Document |
SAXBuilder.build(java.io.InputStream in)
This builds a document from the supplied
input stream.
|
Document |
SAXBuilder.build(java.io.InputStream in,
java.lang.String systemId)
This builds a document from the supplied
input stream.
|
Document |
SAXBuilder.build(java.io.Reader characterStream)
This builds a document from the supplied
Reader.
|
Document |
SAXBuilder.build(java.io.Reader characterStream,
java.lang.String systemId)
This builds a document from the supplied
Reader.
|
Document |
SAXBuilder.build(java.lang.String systemId)
This builds a document from the supplied
URI.
|
Document |
SAXBuilder.build(java.net.URL url)
This builds a document from the supplied
URL.
|
protected void |
SAXBuilder.configureParser(org.xml.sax.XMLReader parser,
SAXHandler contentHandler)
This configures the XMLReader to be used for reading the XML document.
|
protected org.xml.sax.XMLReader |
SAXBuilder.createParser()
This creates the XMLReader to be used for reading the XML document.
|
Modifier and Type | Method and Description |
---|---|
void |
SAXOutputter.output(Document document)
This will output the
JDOM Document , firing off the
SAX events that have been registered. |
org.w3c.dom.Document |
DOMOutputter.output(Document document)
This converts the JDOM
Document parameter to a
DOM Document, returning the DOM version. |
void |
SAXOutputter.output(Element node)
This will output a single JDOM element as a document, firing
off the SAX events that have been registered.
|
void |
SAXOutputter.output(java.util.List nodes)
This will output a list of JDOM nodes as a document, firing
off the SAX events that have been registered.
|
void |
SAXOutputter.outputFragment(Content node)
This will output a single JDOM nodes as a fragment of an XML
document, firing off the SAX events that have been registered.
|
void |
SAXOutputter.outputFragment(java.util.List nodes)
This will output a list of JDOM nodes as a fragment of an XML
document, firing off the SAX events that have been registered.
|
Modifier and Type | Class and Description |
---|---|
class |
XSLTransformException
Thrown when an XSL stylesheet fails to compile or an XSL transform fails
|
Modifier and Type | Method and Description |
---|---|
static XPath |
XPath.newInstance(java.lang.String path)
Creates a new XPath wrapper object, compiling the specified
XPath expression.
|
abstract java.lang.Number |
XPath.numberValueOf(java.lang.Object context)
Returns the number value of the first node selected by applying
the wrapped XPath expression to the given context.
|
abstract java.util.List |
XPath.selectNodes(java.lang.Object context)
Evaluates the wrapped XPath expression and returns the list
of selected items.
|
static java.util.List |
XPath.selectNodes(java.lang.Object context,
java.lang.String path)
Evaluates an XPath expression and returns the list of selected
items.
|
abstract java.lang.Object |
XPath.selectSingleNode(java.lang.Object context)
Evaluates the wrapped XPath expression and returns the first
entry in the list of selected nodes (or atomics).
|
static java.lang.Object |
XPath.selectSingleNode(java.lang.Object context,
java.lang.String path)
Evaluates the wrapped XPath expression and returns the first
entry in the list of selected nodes (or atomics).
|
static void |
XPath.setXPathClass(java.lang.Class aClass)
Sets the concrete XPath subclass to use when allocating XPath
instances.
|
abstract java.lang.String |
XPath.valueOf(java.lang.Object context)
Returns the string value of the first node selected by applying
the wrapped XPath expression to the given context.
|
Copyright ? 2011 Jason Hunter, Brett McLaughlin. All Rights Reserved.