| |||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractDOMAdapter
This class defines wrapper behavior for obtaining a DOM
Document
object from a DOM parser.String
as a child of this
Entity
.Element
as a child of this
Entity
.Document
.Entity
.Attribute
defines behavior for an XML
attribute, modeled in Java.Attribute
with the
specified (local) name and value, and place it in
the specified namespace (with prefix).Attribute
with the
specified (local) name and value, and in the provided
Namespace
.Attribute
with the
specified (local) name and value, and does not place
the attribute in a Namespace
.CDATA
defines behavior for an XML
CDATA section, modeled in Java.Attribute
name.CDATA
section is appropriate.Comment
is appropriate.Element
name.Namespace
prefix.Namespace
URI.Attribute
.CDATA
.Comment
.DocType
.Document
.Entity
.ProcessingInstruction
.Comment
defines behavior for an XML
comment, modeled in Java.Document
object based
on a specific parser implementation.Document
object based
on a specific parser implementation.Document
object based
on a specific parser implementation.Document
object based
on a specific parser implementation.Document
object based
on a specific parser implementation.Document
object based
on a specific parser implementation.Document
object based
on a specific parser implementation.Document
object based
on a specific parser implementation.CrimsonDOMAdapater
This class defines wrapper behavior for obtaining a DOM
Document
object from the Apache Crimson DOM parser.DataConversionException
is thrown when a requested XML value
is requested to be converted, and conversion
fails.Exception
indicating
that the specified attribute does not exist for the
current element.DocType
represents an XML
DOCTYPE declaration.DocType
with
the specified element name and a reference to an
external DTD.DocType
with
the specified element name and reference to an
external DTD.DocType
with
the specified element name
Document
defines behavior for an XML Document, modeled
in Java.Document
,
with the supplied Element
as the root element and the supplied
DocType
declaration.Document
,
with the supplied Element
as the root element, and no DocType
declaration.DOMAdapter
This interface defines wrapper behavior for obtaining a DOM
Document
object from a DOM parser.DOMBuilder
builds a JDOM tree using DOM.Element
defines behavior for an XML
element, modeled in Java.Element
with
the supplied (local) name, and specifies the prefix and URI
of the Namespace
the Element
should be in.Element
with
the supplied (local) name, and specifies the URI
of the Namespace
the Element
should be in, resulting it being unprefixed (in the default
namespace).Element
with the supplied (local) name, and define
the Namespace
to be used.Element
in no
Namespace
.</[element name]>
) is reached.Document
object.Entity
Defines an XML entity in Java.Entity
with the supplied name.Attribute
to the supplied
Object
.CDATA
to the supplied
Object
.Comment
to the supplied
Object
.DocType
to the supplied
Object
.Document
to the supplied
Object
.Element
to the supplied
Object
, explicitly using the == operator.Entity
to the supplied
Object
.Namespaces
are equal if and only if their URIs are byte-for-byte equals
and their prefixes are equal.ProcessingInstruction
to the supplied Object
.getNamespace()
.List
of Attribute
objects in no particular
order, or an empty list if there are none.boolean
form, and if no conversion
can occur, throws a
DataConversionException
List
of all the child elements
nested directly (one level deep) within this element, as
Element
objects.List
of all the XML
elements nested directly (one level deep) within
this Entity
, each in Element
form.List
of all the child elements
nested directly (one level deep) within this element with the given
local name and belonging to the given Namespace, returned as
Element
objects.List
of all the child elements
nested directly (one level deep) within this element with the given
local name and belonging to no namespace, returned as
Element
objects.String
("")
if the child has no textual content.Entity
.Element
, with the new
name specified, and in the specified Namespace
.Element
, with the new
name specified, and in no namespace.DocType
declaration for this Document
, or
null
if none exists.Document
for
this Comment, or null if not a currently a member of a
Document
.Document
for
this Element, or null if not a currently a member of a
Document
.Document
for
this Entity, or null if not a currently a member of a
Document
.Document
for
this PI, or null if not a currently a member of a
Document
.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from a
given filename by letting a DOM parser handle parsing from the file.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.double
form, and if no conversion
can occur, throws a
DataConversionException
float
form, and if no conversion
can occur, throws a
DataConversionException
int
form, and if no conversion
can occur, throws a
DataConversionException
long
form, and if no conversion
can occur, throws a
DataConversionException
Exception
.Document
.String
, Element
,
Comment
, ProcessingInstruction
, and
Entity
.Attribute
.Element
, without any
namespace prefix, if one exists.Entity
.Attribute
's
Namespace
.Element
's
Namespace
.Namespace
for the supplied prefix and URI.Namespace
for the supplied URI, and make it usable
as a default namespace, as no prefix is supplied.Attribute
.Element
, if
one exists.Attribute
's
prefix.Element
's
prefix (or the default namespace if no prefix).Attribute
.Comment
.Element
.Entity
.ProcessingInstruction
.Namespace
.Document
located at the document level
(outside the root element) for the supplied target, or null if
no such processing instruction exists.ProcessingInstruction
s
for this Document
located at the document level
(outside the root element).Document
located at the document level
(outside the root element) which have the supplied target.String
if
none is referenced.Attribute
.Element
, in the form
[namespacePrefix]:[localName].Throwable
, or null
if one does not exist.Element
for this Document
, or return null in the case the
root element hasn't been yet set.Attribute
in XML format,
usable in an XML document.CDATA
in XML format,
usable in an XML document.Comment
in XML format,
usable in an XML document.DocType
in XML format,
usable in an XML document.Document
in XML format,
usable in an XML document.Element
in XML format,
usable in an XML document.Comment
in XML format,
usable in an XML document.Comment
in XML format,
usable in an XML document.String
if
none is referenced.CDATA
.Comment
.Namespace
.Attribute
.Attribute
.CDATA
.Comment
.DocType
.Document
.Element
.Entity
.Namespace
.ProcessingInstruction
.IllegalAddException
is thrown when an Element
or
Attribute
is added to a JDOM
construct illegally..Exception
with the specified
error message.Exception
indicating
that the addition of the Comment
supplied as content to the supplied document is not allowed.Exception
indicating
that the addition of the Element
supplied as a child of the document is not allowed.Exception
indicating
that the addition of the ProcessingInstruction
supplied as content to the supplied document is not allowed.Exception
indicating
that the addition of the Attribute
supplied to the Element
supplied
is illegal.Exception
indicating
that the addition of the Comment
supplied as content to the supplied element is not allowed.Exception
indicating
that the addition of the Element
supplied as a child of the supplied parent is not allowed.Exception
indicating
that the addition of the Entity
supplied as content to the supplied element is not allowed.Exception
indicating
that the addition of the ProcessingInstruction
supplied as content to the supplied element is not allowed.IllegalDataException
is thrown when illegal text is supplied to a
JDOM construct.Exception
indicating
that the specified data is illegal for the construct
it was supplied to.Exception
indicating
that the specified data is illegal for the construct
it was supplied to.IllegalNameException
is thrown when a name is supplied in construction, etc.,
of a JDOM construct, and that name breaks XML naming
conventions.Exception
indicating
that the specified name is illegal for the construct
it was supplied to.Exception
indicating
that the specified name is illegal for the construct
it was supplied to.IllegalTargetException
is thrown when a target is supplied in construction, etc.,
of a JDOM ProcessingInstruction
, and that name breaks
XML naming conventions.Exception
indicating
that the specified target is illegal for the
ProcessingInstruction
it was supplied to.Exception
indicating
that the specified target is illegal for the
ProcessingInstruction
it was supplied to.boolean
value indicating
whether this Element
is a root
Element
for a JDOM Document
.JDOMException
This Exception
subclass is the top level
Exception
that JDOM classes
can throw.Exception
.Exception
with the given message
and wrap another Exception
.Exception
with the given message.Namespace
defines both a factory for
creating XML namespaces, and a namespace itself.NamespaceStack
is a helper class used by both
XMLOutputter
and
SAXOutputter
to manage namespaces
in a JDOM Document during output.Namespace
for when not in a namespaceOracleV1DOMAdapter
This class defines wrapper behavior for obtaining a DOM
Document
object from the Oracle Version 1 DOM parser.OracleV2DOMAdapter
This class defines wrapper behavior for obtaining a DOM
Document
object from the Oracle Version 2 DOM parser.String
.String
.Attribute
parameter to a
DOM Attr
, returning the DOM version.CDATA
CDATA
Comment
Comment
Document
to the given output stream.Document
to the given
Writer.Document
parameter to a
DOM Document, returning the DOM version.JDOM Document
, firing off the
SAX events that have been registered.Element
, including
its Attribute
s, and its value, and all
contained (child) elements etc.Element
, including
its Attribute
s, and its value, and all
contained (child) elements etc.Element
parameter to a
DOM Element, returning the DOM version.Entity
.Entity
.ProcessingInstruction
ProcessingInstruction
Element
's content only, not including its tag, and
attributes.-omitEncoding
-indentSize 3 ...- PartialList - class org.jdom.PartialList
PartialList
defines a List
that contains only part of a larger List
,
yet is still completely backed by that List
.- PartialList(java.util.List,org.jdom.Element) - Constructor for class org.jdom.PartialList
-
As a starting point, take in the
List
that is the backing behind this List
. - PartialList(java.util.List) - Constructor for class org.jdom.PartialList
-
As a starting point, take in the
List
that is the backing behind this List
. - pop() - Method in class org.jdom.output.NamespaceStack
-
This will remove the topmost (most recently added)
Namespace
, and return its prefix. - printStack() - Method in class org.jdom.output.NamespaceStack
-
This will print out the size and current stack, from the
most recently added
Namespace
to
the "oldest," all to System.out
. - printStackTrace() - Method in class org.jdom.JDOMException
-
This prints the stack trace of the
Exception
. - printStackTrace(java.io.PrintStream) - Method in class org.jdom.JDOMException
-
This prints the stack trace of the
Exception
to the given
PrintStream. - printStackTrace(java.io.PrintWriter) - Method in class org.jdom.JDOMException
-
This prints the stack trace of the
Exception
to the given
PrintWriter. - ProcessingInstruction - class org.jdom.ProcessingInstruction
-
ProcessingInstruction
defines behavior for an
XML processing instruction, modeled in Java. - ProcessingInstruction(java.lang.String,java.lang.String) - Constructor for class org.jdom.ProcessingInstruction
-
This will create a new
ProcessingInstruction
with the specified target and data. - processingInstruction(java.lang.String,java.lang.String) - Method in class org.jdom.input.SAXHandler
-
This will indicate that a processing instruction (other than
the XML declaration) has been encountered.
- ProcessingInstruction(java.lang.String,java.util.Map) - Constructor for class org.jdom.ProcessingInstruction
-
This will create a new
ProcessingInstruction
with the specified target and data. - ProjectXDOMAdapter - class org.jdom.adapters.ProjectXDOMAdapter
ProjectXDOMAdapater
This class defines wrapper behavior for obtaining a DOM
Document
object from a Sun Project X DOM parser.- push(org.jdom.Namespace) - Method in class org.jdom.output.NamespaceStack
-
This will add a new
Namespace
to those currently available.
Comment
.Comment
.Element
.Entity
.ProcessingInstruction
.ProcessingInstruction
.SAXBuilder
builds a JDOM tree using SAX.Document
to use.SAXOutputter
takes a JDOM tree and fires SAX2 events.SAXOutputter
with the
specified SAX2 handlers.SAXOutputter
with the
specified ContentHandler
.List
; all existing attributes are removed.Element
objects within the supplied List
.Entity
to the
Element
s within the supplied :ost
.Entity
.ContentHandler
.Map
as the pairs for the data of
this PI.DocType
declaration for this Document
.Builder
.DTDHandler
.Builder
.EntityResolver
.Builder
.ErrorHandler
.<tagName>
to
<tagName></tagName>
.String
to use; this
is usually a String
of empty spaces.String
's size; an indentSize
of 4 would result in the indention being equivalent to the
String
" " (four space chars).Document
.<?xml version="1.0" encoding="UTF-8"?>
)
includes the encoding of the document.Document
to those in the
List
setPublicID(java.lang.String) - Method in class org.jdom.DocTypeElement
for the
Document
.<?xml version="1.0"?>
)
will be suppressed or not.Comment
.org.jdom.Element.getTextTrim()
.Attribute
.Builder
.Document
object.Document
object.String
representation of the
Attribute
, suitable for debugging.String
representation of the
CDATA
, suitable for debugging.String
representation of the
Comment
, suitable for debugging.String
representation of the
DocType
, suitable for debugging.String
representation of the
Document
, suitable for debugging.String
representation of the
Element
, suitable for debugging.String
representation of the
Entity
, suitable for debugging.String
representation of this
Namespace
, suitable for use in debugging.String
representation of the
ProcessingInstruction
, suitable for debugging.Verifier
handles XML checks on names, data, and other
verification tasks for JDOM.XercesDOMAdapater
This class defines wrapper behavior for obtaining a DOM
Document
object from a Apache Xerces DOM parser.XML4JDOMAdapter
This class defines wrapper behavior for obtaining a DOM
Document
object from an IBM XML4J DOM parser.XMLOutputter
takes a JDOM tree and formats it to a
stream as XML.XMLOutputter
with
no additional whitespace (indent or new lines) added;
the whitespace from the element text content is fully preserved.XMLOutputter
with
the given indent and new lines printing only if newlines is
true
, and encoding format encoding
.XMLOutputter
with
the given indent that prints newlines only if newlines
is
true
;
all whitespace from the element text content is included as well.XMLOutputter
with
the given indent added but no new lines added;
all whitespace from the element text content is included as well.XMLOutputter
with all the
options as set in the given XMLOutputter
.
| |||||||||
PREV NEXT | FRAMES NO FRAMES |