This will return any namespace declarations on this element
that exist,
excluding the namespace of the element
itself, which can be obtained through
getNamespace()
.
This returns the attribute for this element with the given name
and within no namespace, or null if no such attribute exists.
This returns the attribute for this element with the given name
and within the given Namespace, or null if no such attribute exists.
This returns the complete set of attributes for this element, as a
List
of Attribute
objects in no particular
order, or an empty list if there are none.
This will return the actual declared type of this
Attribute
.
This returns the attribute value for the attribute with the given name
and within no namespace, null if there is no such attribute, and the
empty string if the attribute value is empty.
This returns the attribute value for the attribute with the given name
and within the given Namespace, null if there is no such attribute, and
the empty string if the attribute value is empty.
This returns the attribute value for the attribute with the given name
and within the given Namespace, or the passed-in default if there is no
such attribute.
This returns the attribute value for the attribute with the given name
and within no namespace, or the passed-in default if there is no
such attribute.
This gets the value of the attribute, in
boolean
form, and if no conversion
can occur, throws a
DataConversionException
This will return the root cause Throwable
, or null
if one does not exist.
This returns the first child element within this element with the
given local name and belonging to no namespace.
This returns the first child element within this element with the
given local name and belonging to the given namespace.
This returns a List
of all the child elements
nested directly (one level deep) within this element, as
Element
objects.
This returns a 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.
This returns a 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.
This convenience method returns the textual content of the named
child element, or returns an empty String
("")
if the child has no textual content.
This convenience method returns the textual content of the named
child element, or returns null if there's no such child.
This convenience method returns the normalized textual content of the
named child element, or returns null if there's no such child.
This convenience method returns the normalized textual content of the
named child element, or returns null if there's no such child.
This convenience method returns the trimmed textual content of the
named child element, or returns null if there's no such child.
This convenience method returns the trimmed textual content of the
named child element, or returns null if there's no such child.
This will return all content for the Document
.
This returns the full content of the element as a List which
may contain objects of type Text
, Element
,
Comment
, ProcessingInstruction
,
CDATA
, and EntityRef
.
Return a filtered view of this Document
's content.
Return a filter view of this Element
's content.
Returns the registered ContentHandler
.
Returns the being-parsed element.
This will return the raw data from all instructions.
Return the registered DeclHandler
.
This will return the
DocType
declaration for this
Document
, or
null
if none exists.
This retrieves the owning
Document
for
this Attribute, or null if not a currently a member of a
Document
.
This retrieves the owning
Document
for
this
CDATA
, or null if not a currently a member
of a
Document
.
This retrieves the owning
Document
for
this Comment, or null if not a currently a member of a
Document
.
This retrieves the owning
Document
for
this DocType, or null if not a currently a member of a
Document
.
This retrieves the owning
Document
for
this Element, or null if not a currently a member of a
Document
.
This retrieves the owning
Document
for
this Entity, or null if not a currently a member of a
Document
.
Returns the document produced as result of an XSL Transformation.
Returns the source document used by this TRaX source.
This retrieves the owning
Document
for
this PI, or null if not a currently a member of a
Document
.
This retrieves the owning
Document
for
this
Text
, or null if not a currently a member
of a
Document
.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from a
given filename by letting a DOM parser handle parsing from the file.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a JAXP
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
This creates a new Document
from an
existing InputStream
by letting a DOM
parser handle parsing using the supplied stream.
Provides access to the Locator
object provided by the
SAX parser.
This gets the value of the attribute, in
double
form, and if no conversion
can occur, throws a
DataConversionException
Return the registered DTDHandler
.
This will retrieve the element name being
constrained.
Return the registered EntityResolver
.
Return the registered ErrorHandler
.
Returns whether or not entities will be expanded during the
build.
Returns the custom JDOMFactory used to build the result
document.
Returns the factory used for constructing objects.
This will look up the value of a SAX feature.
Return current filtering mask.
This gets the value of the attribute, in
float
form, and if no conversion
can occur, throws a
DataConversionException
Returns whether or not the parser will elminate whitespace in
element content (sometimes known as "ignorable whitespace") when
building the document.
This returns the data for the internal subset
This gets the value of the attribute, in
int
form, and if no conversion
can occur, throws a
DataConversionException
Return the registered LexicalHandler
.
This gets the value of the attribute, in
long
form, and if no conversion
can occur, throws a
DataConversionException
This returns the message for the Exception
.
This will retrieve the local name of the
Attribute
.
This returns the (local) name of the
Element
, without any
namespace prefix, if one exists.
This returns the name of the
EntityRef
.
This will return a List
containing the names of the
"attribute" style pieces of name/value pairs in this PI's data.
This returns the Namespace in scope on this element for the given
prefix (this involves searching up the tree, so the results depend
on the current location of the element).
This will retrieve (if in existence) or create (if not) a
Namespace
for the supplied URI, and make it usable
as a default namespace, as no prefix is supplied.
This will retrieve (if in existence) or create (if not) a
Namespace
for the supplied prefix and URI.
This will retrieve the namespace prefix of the
Attribute
.
This returns the namespace prefix
of the Element
, if
one exists.
This returns the URI mapped to this Attribute
's
prefix.
This returns the URI mapped to this Element
's
prefix (or the default namespace if no prefix).
This will return the parent of this Attribute
.
This will return the parent of this
CDATA
node, which
is always a JDOM
Element
.
This will return the parent of this Comment
.
This will return the parent of this Element
.
This will return the parent of this EntityRef
.
This will return the parent of this ProcessingInstruction
.
This will return the parent of this
Text
node, which
is always a JDOM
Element
.
This returns the prefix mapped to this Namespace
.
This will look up the value of a SAX property.
This will retrieve the public ID of an externally
referenced DTD, or an empty String
if
none is referenced.
This will return the publid ID of this EntityRef
.
This will retrieve the qualified name of the Attribute
.
This returns the full name of the
Element
, in the form
[namespacePrefix]:[localName].
This will return the root Element
for this Document
This will retrieve the system ID of an externally
referenced DTD, or an empty String
if
none is referenced.
This will return the system ID of this EntityRef
.
This will retrieve the target of the PI.
This returns the value of this CDATA
node as a Java
String
.
This returns the textual data within the
Comment
.
This returns the textual content directly held under this
element.
This returns the value of this Text
node as a Java
String
.
This returns the textual content with all surrounding whitespace
removed and internal whitespace normalized to a single space.
This returns the textual content of this element with all
surrounding whitespace removed and internal whitespace normalized
to a single space.
This returns the textual content with all surrounding whitespace
removed and internal whitespace normalized to a single space.
This returns the textual content with all surrounding whitespace
removed.
This returns the textual content of this element with all
surrounding whitespace removed.
This returns the textual content with all surrounding whitespace
removed.
This returns the namespace URI for this Namespace
.
This will return the actual textual value of this
Attribute
.
This will return the value for a specific
name/value pair on the PI.
Returns the XMLReader to be used for the Source.