Uses of Class
org.jdom.JDOMException
Packages that use JDOMException
Package
Description
Classes to represent the components of an XML document.
Classes to interface with various DOM implementations.
Classes to build JDOM documents from various sources.
Classes to output JDOM documents to various destinations.
Classes to help with transformations, based on the JAXP TrAX classes.
Support for XPath from within JDOM.
-
Uses of JDOMException in org.jdom
Subclasses of JDOMException in org.jdomModifier and TypeClassDescriptionclass
Thrown when a data conversion from a string to value type fails, such as can happen with theAttribute
convenience getter functions. -
Uses of JDOMException in org.jdom.adapters
Methods in org.jdom.adapters that throw JDOMExceptionModifier and TypeMethodDescriptionabstract Document
AbstractDOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.AbstractDOMAdapter.createDocument
(DocType doctype) This creates an emptyDocument
object based on a specific parser implementation with the given DOCTYPE.CrimsonDOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.DOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.DOMAdapter.createDocument
(DocType doctype) This creates an emptyDocument
object based on a specific parser implementation with the given DOCTYPE.JAXPDOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.OracleV1DOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.OracleV2DOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.XercesDOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.XML4JDOMAdapter.createDocument()
This creates an emptyDocument
object based on a specific parser implementation.AbstractDOMAdapter.getDocument
(File filename, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream.abstract Document
AbstractDOMAdapter.getDocument
(InputStream in, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream.CrimsonDOMAdapter.getDocument
(InputStream in, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream.DOMAdapter.getDocument
(File filename, boolean validate) This creates a newDocument
from a given filename by letting a DOM parser handle parsing from the file.DOMAdapter.getDocument
(InputStream in, boolean validate) This creates a newDocument
from an existingInputStream
by letting a DOM parser handle parsing using the supplied stream.JAXPDOMAdapter.getDocument
(InputStream in, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a JAXP parser handle parsing using the supplied stream.OracleV1DOMAdapter.getDocument
(InputStream in, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream.OracleV2DOMAdapter.getDocument
(InputStream in, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream.XercesDOMAdapter.getDocument
(InputStream in, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream.XML4JDOMAdapter.getDocument
(InputStream in, boolean validate) This creates a new
from an existingDocument
InputStream
by letting a DOM parser handle parsing using the supplied stream. -
Uses of JDOMException in org.jdom.input
Subclasses of JDOMException in org.jdom.inputModifier and TypeClassDescriptionclass
Thrown during parse errors, with information about where the parse error occurred as well as access to the partially built document.Methods in org.jdom.input that throw JDOMExceptionModifier and TypeMethodDescriptionThis builds a document from the supplied filename.SAXBuilder.build
(InputStream in) This builds a document from the supplied input stream.SAXBuilder.build
(InputStream in, String systemId) This builds a document from the supplied input stream.This builds a document from the supplied Reader.This builds a document from the supplied Reader.This builds a document from the supplied URI.This builds a document from the supplied URL.SAXBuilder.build
(InputSource in) This builds a document from the supplied input source.protected void
SAXBuilder.configureParser
(XMLReader parser, SAXHandler contentHandler) This configures the XMLReader to be used for reading the XML document.protected XMLReader
SAXBuilder.createParser()
This creates the XMLReader to be used for reading the XML document. -
Uses of JDOMException in org.jdom.output
Methods in org.jdom.output that throw JDOMExceptionModifier and TypeMethodDescriptionThis converts the JDOMDocument
parameter to a DOM Document, returning the DOM version.void
This will output a list of JDOM nodes as a document, firing off the SAX events that have been registered.void
This will output theJDOM Document
, firing off the SAX events that have been registered.void
This will output a single JDOM element as a document, firing off the SAX events that have been registered.void
SAXOutputter.outputFragment
(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.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. -
Uses of JDOMException in org.jdom.transform
Subclasses of JDOMException in org.jdom.transformModifier and TypeClassDescriptionclass
Thrown when an XSL stylesheet fails to compile or an XSL transform fails -
Uses of JDOMException in org.jdom.xpath
Methods in org.jdom.xpath that throw JDOMExceptionModifier and TypeMethodDescriptionstatic XPath
XPath.newInstance
(String path) Creates a new XPath wrapper object, compiling the specified XPath expression.abstract Number
XPath.numberValueOf
(Object context) Returns the number value of the first node selected by applying the wrapped XPath expression to the given context.abstract List
XPath.selectNodes
(Object context) Evaluates the wrapped XPath expression and returns the list of selected items.static List
XPath.selectNodes
(Object context, String path) Evaluates an XPath expression and returns the list of selected items.abstract Object
XPath.selectSingleNode
(Object context) Evaluates the wrapped XPath expression and returns the first entry in the list of selected nodes (or atomics).static Object
XPath.selectSingleNode
(Object context, String path) Evaluates the wrapped XPath expression and returns the first entry in the list of selected nodes (or atomics).static void
XPath.setXPathClass
(Class aClass) Sets the concrete XPath subclass to use when allocating XPath instances.abstract String
Returns the string value of the first node selected by applying the wrapped XPath expression to the given context.