Returns a list of the additional namespace declarations on this element.
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.
Returns the URI from which this document was loaded,
or null if this is not known.
This gets the effective boolean value of the attribute, or throws a
DataConversionException
if a conversion can't be
performed.
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.
Returns the textual content of the named child element, or null if
there's no such child.
Returns the textual content of the named child element, or null if
there's no such child.
Returns the normalized textual content of the named child element, or
null if there's no such child.
Returns the normalized textual content of the named child element, or
null if there's no such child.
Returns the trimmed textual content of the named child element, or null
if there's no such child.
Returns the trimmed textual content of the named child element, or null
if there's no such child.
Returns the column number of the end of the text where the
parse error occurred.
Returns a new Format object that performs whitespace normalization, uses
the UTF-8 encoding, doesn't expand empty elements, includes the
declaration and encoding, and uses the default entity escape strategy.
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
.
Returns the full content of this parent as a
java.util.List
which contains objects of type
Content
.
Returns the child at the given index.
Returns the child at the given index.
Returns the child at the given index.
Return a filtered view of this Document
's content.
Return a filter view of this Element
's content.
Returns as a java.util.List
the content of
this parent that matches the supplied filter.
Returns the registered ContentHandler
.
Returns the number of children in this parent's content list.
Returns the number of children in this parent's content list.
Returns the number of children in this parent's content list.
Returns the being-parsed element.
This will return the raw data from all instructions.
Return the registered DeclHandler
.
Returns an iterator that walks over all descendants in document order.
Returns an iterator that walks over all descendants in document order.
Returns an java.util.Iterator
that walks over all descendants
in document order.
Returns an iterator that walks over all descendants in document order
applying the Filter to return only elements that match the filter rule.
Returns an iterator that walks over all descendants in document order
applying the Filter to return only elements that match the filter rule.
Returns an java.util.Iterator
that walks over all descendants
in document order applying the Filter to return only elements that
match the filter rule.
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
.
Return this child's owning document or null if the branch containing
this child is currently not attached to a document.
Returns the result of an XSL Transformation as a JDOM document.
Returns the source document used by this TrAX source.
Return this parent's owning document or null if the branch containing
this parent is currently not attached to 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.
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
Returns the driver class assigned in the constructor, or null if none.
Returns the DTDHandler
assigned, or null if none.
Return the registered DTDHandler
.
This will retrieve the element name being constrained.
Returns the configured output encoding.
Returns the EntityResolver
assigned, or null if none.
Return the registered EntityResolver
.
Returns the ErrorHandler
assigned, or null if none.
Return the registered ErrorHandler
.
Returns the current escape strategy
Returns whether empty elements are expanded.
Returns whether or not entities are being expanded into normal text
content.
Returns whether or not entities will be expanded during the
build.
Returns the custom JDOMFactory used to build the transformation
result.
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 the current format in use by the outputter.
Returns whether JAXP TrAX processing instructions for
disabling/enabling output escaping are ignored.
Returns whether element content whitespace is to be ignored during the
build.
Returns whether or not the parser will elminate whitespace in
element content (sometimes known as "ignorable whitespace") when
building the document.
Returns the indent string in use.
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
.
Returns the line number of the end of the text where the
parse error occurred.
Returns the current line separator.
Returns a JDOMLocator object referencing the node currently
being processed by this outputter.
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
.
Returns the (local) name of the element (without any namespace prefix).
This returns the name of the EntityRef
.
Returns the
Namespace
corresponding to the given prefix in scope
for this 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
.
Returns the namespace prefix of the element or an empty string if none
exists.
This returns the URI mapped to this Attribute
's
prefix.
Returns the namespace URI mapped to this element's prefix (or the
in-scope default namespace URI if no prefix).
Returns the JDOM node being processed by SAXOutputter.
Returns the source node list used by this TrAX source.
Returns whether the XML declaration will be omitted.
Returns whether the XML declaration encoding will be omitted.
This will return the parent of this Attribute
.
Return this child's parent, or null if this child is currently
not attached.
Return this parent's parent, or null if this parent is currently
not attached to another parent.
Return this parent's parent, or null if this parent is currently
not attached to another parent.
A convenience method that returns any parent element for this element,
or null if the element is unattached or is a root element.
Returns the partial document that was successfully built before
the error occurred.
This returns the prefix mapped to this Namespace
.
Returns a new Format object that performs whitespace beautification with
2-space indents, uses the UTF-8 encoding, doesn't expand empty elements,
includes the declaration and encoding, and uses the default entity
escape strategy.
Returns the object associated with this document under the given "id"
string, or null if there is no binding or if the binding explicitly
stored a null value.
This will look up the value of a SAX property.
This will return a List
containing the names of the
"attribute" style pieces of name/value pairs in this PI's data.
This will return the value for a specific
name/value pair on the PI.
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
.
Returns the public identifier of the entity where the
parse error occurred.
This will retrieve the qualified name of the Attribute
.
Returns the full name of the element, in the form
[namespacePrefix]:[localName].
Returns a new Format object that performs no whitespace changes, uses
the UTF-8 encoding, doesn't expand empty elements, includes the
declaration and encoding, and uses the default entity escape strategy.
Returns whether DTD events will be reported.
Returns whether attribute namespace declarations shall be reported as
"xmlns" attributes.
Returns the result of an XSL Transformation as a list of JDOM
nodes.
Returns whether the contained SAX parser instance is reused across
multiple parses.
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
.
Returns the system identifier of the entity where the
parse error occurred.
This will retrieve the target of the PI.
This returns the textual data within the Comment
.
Returns the textual content directly held under this element as a string.
This returns the value of this Text
node as a Java
String
.
Returns the current text output style.
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.
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
.
Returns whether validation is to be performed during the build.
This will return the actual textual value of this
Attribute
.
Returns the XPath 1.0 string value of this element, which is the
text of this comment.
Returns the XPath 1.0 string value of this child.
Returns the empty string since doctypes don't have an XPath
1.0 string value.
Returns the XPath 1.0 string value of this element, which is the
complete, ordered content of all text node descendants of this element
(i.e. the text that's left after all references are resolved
and all other markup is stripped out.)
Returns the empty string since entity references don't have an XPath
1.0 string value.
Returns the XPath 1.0 string value of this element, which is the
data of this PI.
Returns the XPath 1.0 string value of this element, which is the
text itself.
Returns the XMLFilter
used during parsing, or null if none.
Returns the XMLReader to be used for the Source.
Returns the wrapped XPath expression as a string.