All Packages Class Hierarchy
This adds a CDATA section as content to this element.
This will add a comment to the Document
.
This adds a comment as content to this element.
This adds element content to this element.
This adds entity content to this element.
Adds the specified PI to the document.
This adds a processing instruction as content to this element.
This adds text content to this element.
This adds text content to this element.
{
- addNamespaceDeclaration(Namespace).
Method in class org.jdom.Element
-
This will add a namespace declarations to this element.
- append(CDATA).
Method in class org.jdom.CDATA
-
This will append the content of another CDATA
node
to this node.
- append(String).
Method in class org.jdom.CDATA
-
This will append character content to whatever content already
exists within this CDATA
node.
- append(String).
Method in class org.jdom.Text
-
This will append character content to whatever content already
exists within this Text
node.
- append(Text).
Method in class org.jdom.Text
-
This will append the content of another Text
node
to this node.
- appendExternalId(String, String).
Method in class org.jdom.input.SAXHandler
-
Appends an external ID to the internal subset buffer.
- atRoot.
Variable in class org.jdom.input.SAXHandler
- Indicator of where in the document we are
- Attribute().
Constructor for class org.jdom.Attribute
-
Default, no-args constructor for implementations
to use if needed.
- Attribute(String, String).
Constructor for class org.jdom.Attribute
-
This will create a new Attribute
with the
specified (local) name and value, and does not place
the attribute in a {
- attribute(String, String).
Method in class org.jdom.input.DefaultJDOMFactory
-
- attribute(String, String).
Method in interface org.jdom.input.JDOMFactory
-
This will create a new Attribute
with the
specified (local) name and value, and does not place
the attribute in a {
- Attribute(String, String, int).
Constructor for class org.jdom.Attribute
-
This will create a new Attribute
with the
specified (local) name, value and type, and does not place
the attribute in a {
- attribute(String, String, int).
Method in class org.jdom.input.DefaultJDOMFactory
-
- attribute(String, String, int).
Method in interface org.jdom.input.JDOMFactory
-
This will create a new Attribute
with the
specified (local) name, value and type, and does not place
the attribute in a {
- Attribute(String, String, int, Namespace).
Constructor for class org.jdom.Attribute
-
This will create a new Attribute
with the
specified (local) name, value, and type, and in the provided
{
- attribute(String, String, int, Namespace).
Method in class org.jdom.input.DefaultJDOMFactory
-
- attribute(String, String, int, Namespace).
Method in interface org.jdom.input.JDOMFactory
-
This will create a new Attribute
with the
specified (local) name, value, and type, and in the provided
{
- Attribute(String, String, Namespace).
Constructor for class org.jdom.Attribute
-
This will create a new Attribute
with the
specified (local) name and value, and in the provided
{
- attribute(String, String, Namespace).
Method in class org.jdom.input.DefaultJDOMFactory
-
- attribute(String, String, Namespace).
Method in interface org.jdom.input.JDOMFactory
-
This will create a new Attribute
with the
specified (local) name and value, and in the provided
{
- attributeDecl(String, String, String, String, String).
Method in class org.jdom.input.SAXHandler
-
This handles an attribute declaration in the internal subset
- attributes.
Variable in class org.jdom.Element
- The attributes of the
Element
.
- availableNamespaces.
Variable in class org.jdom.input.SAXHandler
- The namespaces in scope and actually attached to an element
This will build a JDOM tree from an existing DOM tree.
This will build a JDOM Element from an existing DOM Element
This builds a document from the supplied filename by constructing a DOM tree and reading information from the DOM to create a JDOM document, a slower approach than SAXBuilder but useful for debugging.
This builds a document from the supplied filename.
This builds a document from the supplied input source.
This builds a document from the supplied input stream by constructing a DOM tree and reading information from the DOM to create a JDOM document, a slower approach than SAXBuilder but useful for debugging.
This builds a document from the supplied input stream.
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 by constructing a DOM tree and reading information from the DOM to create a JDOM document, a slower approach than SAXBuilder but useful for debugging.
This builds a document from the supplied URL.
Check to see if the object can be added to the list.
Only allow the adding of Element objects.
Check to see if the object can be added to the list.
Check to see if the object can be removed from the list.
Check to see if the object can be removed from the list.
Check to see if the object can be removed from the list.
Throwable
CDATA
objects
This is the protected, no-args constructor standard in all JDOM classes.
This constructor creates a new CDATA
node, with the
supplied string value as it's character content.
This creates the CDATA with the supplied text.
Attribute type: the attribute value is a string.
This will report character data (within an element).
This will check the supplied name to see if it is legal for use as
a JDOM
This will check the supplied data to see if it is legal for use as
JDOM
This will check the supplied string to see if it only contains
characters allowed by the XML 1.0 specification.
This will check the supplied data to see if it is legal for use as
JDOM
This will check the supplied name to see if it is legal for use as
a JDOM
Check if
Check if a
Check if a
Check if a
Check if two namespaces collide.
This will check the supplied name to see if it is legal for use as
a JDOM
This will check the supplied name to see if it is legal for use as
a JDOM
This will check the supplied data to see if it is legal for use as
a JDOM
This will ensure that the data for a public identifier
is legal.
This will ensure that the data for a system literal
is legal.
This is a utility function for sharing the base process of checking
any XML name.
This will return a clone of this This will return a clone of this
This will return a clone of this
This will return a clone of this
This will return a deep clone of this
This returns a deep clone of this element.
This will return a clone of this
This will return a clone of this This will return a clone of this
Default, no-args constructor for implementations
to use if needed.
This reports that a comments is parsed.
This creates the comment with the supplied
text.
This creates the comment with the supplied
text.
This configures the SAXHandler that will be used to build the Document.
This configures the XMLReader to be used for reading the XML document.
Default constructor that allows any legal JDOM objects.
Set whether all JDOM objects are visible or not.
Filter out JDOM objects according to a filtering mask.
This creates the SAXHandler that will be used to build the Document.
This creates an empty
This creates an empty
This creates an empty
This creates an empty
This creates an empty
This creates an empty
This creates an empty
This creates an empty
This creates an empty
This creates an empty
This creates an empty
Factory for making new NamespaceStack objects.
This creates the XMLReader to be used for reading the XML document.
Creates a SAX XMLReader.
{
{
{
{
{
{
{
{
{
{
{
Attribute
.
CDATA
node, with the
same character content, but no parent.Comment
.
DocType
.
Document
.
EntityRef
.
ProcessingInstruction
.
Text
node, with the
same character content, but no parent.Comment
objects
Document
's
{
Element
.
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.
Document
object based
on a specific parser implementation.
Document
object based
on a specific parser implementation with the given DOCTYPE.
Document
object based
on a specific parser implementation with the given DOCTYPE.
This will create an Exception
indicating
that the specified attribute does not exist for the
current element.
This detaches the Attribute
from its parent, or does
nothing if the Attribute
has no parent.
Detaches the CDATA
from its parent, or does nothing
if the CDATA
has no parent.
This detaches the Comment
from its parent, or does
nothing if the Comment
has no parent.
This detaches the element from its parent, or does nothing if the element has no parent.
This detaches the Entity
from its parent, or does nothing
if the Entity
has no parent.
This detaches the PI from its parent, or does nothing if the PI has no parent.
Detaches the Text
from its parent, or does nothing
if the Text
has no parent.
Detach the root
Default, no-args constructor for implementations
to use if needed.
This will create the
This will create the
This will create the
This will create the
This will create the
This will create the
Creates a new empty document.
This will create a new
This will create a new
This will create a new
This will create a new
This will create a new
This will create a new
This creates a new DOMBuilder which will attempt to first locate
a parser via JAXP, then will try to use a set of default parsers.
This creates a new DOMBuilder which will attempt to first locate
a parser via JAXP, then will try to use a set of default parsers.
This creates a new DOMBuilder using the specified DOMAdapter
implementation as a way to choose the underlying parser.
This creates a new DOMBuilder using the specified DOMAdapter
implementation as a way to choose the underlying parser.
This creates a new DOMOutputter which will attempt to first locate
a DOM implementation to use via JAXP, and if JAXP does not exist or
there's a problem, will fall back to the default parser.
This creates a new DOMOutputter using the specified DOMAdapter
implementation as a way to choose the underlying parser.
{
{
DocType
with
the specified element name
DocType
with
the specified element name
DocType
with
the specified element name and reference to an
external DTD.
DocType
with
the specified element name and reference to an
external DTD.
DocType
with
the specified element name and a reference to an
external DTD.
DocType
with
the specified element name and a reference to an
external DTD.
Document
object
Document
,
with the supplied {
Document
,
with the supplied {
Document
,
with the supplied {
Document
,
with the supplied {
Document
,
with the supplied list of content, and no
{
Document
,
with the supplied list of content, and the supplied
{
Element
objects
This protected constructor is provided in order to support an Element subclass that wants full control over variable initialization.
This will create an
This will create an
This will create a new
This will create a new
This will create a new
This will create a new
This will create a new
This will create a new
Handle an element declaration in a DTD
Filter out the Elements.
Filter out the Elements with the supplied Namespace.
Filter out the Elements with the supplied name in any Namespace.
Filter out the Elements with the supplied name and Namespace.
Report a CDATA section - ignored in SAXBuilder.
This signifies that the reading of the DTD is complete.
Indicates the end of an element
(
This will add the prefix mapping to the JDOM
Attribute type: the attribute value is a list of entity names.
Attribute type: the attribute value is the name of an entity.
Default, no-args constructor for implementations
to use if needed.
This will create a new
This will create a new
This will create a new
This will create a new
This will create a new
Attribute type: the attribute value is a name token from an
enumeration.
This tests for equality of this
This tests for equality of this
This tests for equality of this
Returns true if object is instance of ContentFilter and has
the same filtering mask as this one.
This tests for equality of this
This tests for equality of this
This tests for equality of this
Returns true if object is instance of ElementFilter and has
the same parent Element, name, and namespace as this filter.
This tests for equality of this
This tests for equality - Two
This tests for equality of this
This tests for equality of this
This method is called in response to an error that has occurred;
this indicates that a rule was broken, typically in validation, but
that parsing could reasonably continue.
This will take the pre-defined entities in XML 1.0 and
convert their character representation to the appropriate
entity reference, suitable for XML attributes.
This will take the three pre-defined entities in XML 1.0
(used specifically in XML elements) and convert their character
representation to the appropriate entity reference, suitable for
XML element content.
Element
in no
{
Element
in no
{
Element
with the supplied (local) name, and define
the {
Element
with the supplied (local) name, and define
the {
Element
with
the supplied (local) name, and specifies the URI
of the {
Element
with
the supplied (local) name, and specifies the URI
of the {
Element
with
the supplied (local) name, and specifies the prefix and URI
of the {
Element
with
the supplied (local) name, and specifies the prefix and URI
of the {
</[element name]>
) is reached.
Document
object.
EnitityRef
objects
EntityRef
with the supplied name.
EntityRef
with the supplied name.
EntityRef
with the supplied name and system id.
EntityRef
with the supplied name, public id, and system id.
EntityRef
with the supplied name, public ID, and system ID.
Attribute
to the supplied
Object
.
CDATA
to the supplied
Object
, explicitly using the == operator.
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.
ProcessingInstruction
to the supplied Object
.
Text
to the supplied
Object
, explicitly using the == operator.
This method is called in response to a fatal error; this indicates that a rule has been broken that makes continued parsing either impossible or an almost certain waste of time.
This will flush any characters from SAX character calls we've been buffering.
This will return any namespace declarations on this element
that exist, excluding the namespace of the element
itself, which can be obtained through
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
This will return the actual declared type of this
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
This will return the root cause
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
This returns a
This returns a
This convenience method returns the textual content of the named
child element, or returns an empty
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
This returns the full content of the element as a List which
may contain objects of type
Return a filtered view of this
Return a filter view of this
Returns the registered
Returns the being-parsed element.
This will return the raw data from all instructions.
Return the registered
This will return the
This retrieves the owning
This retrieves the owning
This retrieves the owning
This retrieves the owning
This retrieves the owning
This retrieves the owning
This retrieves the owning
Returns the document.
This retrieves the owning
This creates a new
This creates a new
This creates a new
This creates a new
This creates a new
This creates a new
This creates a new
This creates a new
This creates a new
This creates a new
This creates a new
Provides access to the {
This gets the value of the attribute, in
Return the registered
This will retrieve the element name being
constrained.
Return the registered
Return the registered
Returns whether or not entities will be expanded during the
build.
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
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
Return the registered
This gets the value of the attribute, in
This returns the message for the
This will retrieve the local name of the
This returns the (local) name of the
This returns the name of the
This will return a
This will return this
This will return this
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
This will retrieve (if in existence) or create (if not) a
This will retrieve the namespace prefix of the
This returns the namespace prefix
of the
This returns the URI mapped to this
This returns the URI mapped to this
This will return the parent of this This will return the parent of this
This will return the parent of this
This will return the parent of this
This will return the parent of this
This will return the parent of this This will return the parent of this
This returns the prefix mapped to this
This will look up the value of a SAX property.
This will retrieve the public ID of an externally
referenced DTD, or an empty
This will return the publid ID of this
This will retrieve the qualified name of the
This returns the full name of the
This will return the root
This will retrieve the system ID of an externally
referenced DTD, or an empty
This will return the system ID of this
This will retrieve the target of the PI.
This returns the value of this
This returns the textual data within the
This returns the textual content directly held under this
element.
This returns the value of this
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
This will return the actual textual value of this
This will return the value for a specific
name/value pair on the PI.
{
List
of Attribute
objects in no particular
order, or an empty list if there are none.
Attribute
.
boolean
form, and if no conversion
can occur, throws a
{
Throwable
, or null
if one does not exist.
List
of all the child elements
nested directly (one level deep) within this element, 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.
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.
String
("")
if the child has no textual content.
Document
.
Text
, Element
,
Comment
, ProcessingInstruction
,
CDATA
, and EntityRef
.
Document
's content.
Element
's content.
ContentHandler
.
DeclHandler
.
{
{
{
{
{
{
{
{
{
{
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.
{
{
{
{
{
{
double
form, and if no conversion
can occur, throws a
{
DTDHandler
.
EntityResolver
.
ErrorHandler
.
float
form, and if no conversion
can occur, throws a
{
int
form, and if no conversion
can occur, throws a
{
LexicalHandler
.
long
form, and if no conversion
can occur, throws a
{
Exception
.
Attribute
.
Element
, without any
namespace prefix, if one exists.
EntityRef
.
List
containing the names of the
"attribute" style pieces of name/value pairs in this PI's data.
Attribute
's
{
Element
's
{
Namespace
for the supplied URI, and make it usable
as a default namespace, as no prefix is supplied.
Namespace
for the supplied prefix and URI.
Attribute
.
Element
, if
one exists.
Attribute
's
prefix.
Element
's
prefix (or the default namespace if no prefix).
Attribute
.
CDATA
node, which
is always a JDOM {
Comment
.
Element
.
EntityRef
.
ProcessingInstruction
.
Text
node, which
is always a JDOM {
Namespace
.
String
if
none is referenced.
EntityRef
.
Attribute
.
Element
, in the form
[namespacePrefix]:[localName].
Element
for this Document
String
if
none is referenced.
EntityRef
.
CDATA
node as a Java
String
.Comment
.
Text
node as a Java
String
.Namespace
.
Attribute
.
Test whether this element has a child element.
This returns the hash code for this Attribute
.
This will generate a hash code for this node.
This returns the hash code for this Comment
.
This returns the hash code for this DocType
.
This returns the hash code for this Document
.
This returns the hash code for this Element
.
This returns the hash code for this Entity
.
This returns a probably unique hash code for the Namespace
.
This returns the hash code for this ProcessingInstruction
.
This will generate a hash code for this node.
This will return true
if this document has a
root element, false
otherwise.
Attribute type: the attribute value is a unique identifier.
Attribute type: the attribute value is a reference to a unique identifier.
Attribute type: the attribute value is a list of references to unique identifiers.
Capture ignorable whitespace as text.
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will create an
This will print indents (only if the newlines flag was
set to
This will print indents (only if the newlines flag was
set to
Intializes the cause of this exception to be the specified value.
Handle an internal entity declaration in a DTD.
Determines if this element is the ancestor of another element.
This returns a
This is a utility function for determining whether a specified
character is a character according to production 2 of the
XML 1.0 specification.
This is a utility function for determining whether a specified character
is a combining character according to production 87
of the XML 1.0 specification.
This is a utility function for determining whether a specified
Unicode character
is a digit according to production 88 of the XML 1.0 specification.
This is a utility function for determining whether a specified
character is an extender according to production 88 of the XML 1.0
specification.
This is a utility function for determining whether a specified character
is a letter according to production 84 of the XML 1.0 specification.
This is a utility function for determining whether a specified
character is a letter or digit according to productions 84 and 88
of the XML 1.0 specification.
This is a utility function for determining whether a specified
character is a name character according to production 4 of the
XML 1.0 specification.
This is a utility function for determining whether a specified
character is a legal name start character according to production 5
of the XML 1.0 specification.
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
indicating
that the addition of the {
Exception
with the specified
error message.
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.
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.
Exception
indicating
that the specified target is illegal for the
{
Exception
indicating
that the specified target is illegal for the
{
true
, and indent is non-null).
true
, and indent is non-null).
boolean
value indicating
whether this Element
is a root
Element
for a JDOM {
This will create an Exception
.
This will create an Exception
with the given message.
This will create an Exception
with the given message
and wrap another Exception
.
Get an OutputStreamWriter, using prefered encoding (see {
Get an OutputStreamWriter, use specified encoding.
Check to see if the object matches according to the filter mask.
Check to see if the object matches a predefined set of rules.
Check to see if the object matches a predefined set of rules.
Attribute
Element
EntityRef
{
- namespace.
Variable in class org.jdom.Element
- The
{
- namespace.
Variable in class org.jdom.filter.ElementFilter
- The element namespace
- newline(Writer).
Method in class org.jdom.output.XMLOutputter
-
This will print a new line only if the newlines flag was set to
true.
- NMTOKEN_ATTRIBUTE.
Static variable in class org.jdom.Attribute
-
Attribute type: the attribute value is a name token.
- NMTOKENS_ATTRIBUTE.
Static variable in class org.jdom.Attribute
-
Attribute type: the attribute value is a list of name tokens.
- NO_NAMESPACE.
Static variable in class org.jdom.Namespace
- Define a
Namespace
for when not in a namespace
- normalizeString(String).
Static method in class org.jdom.Text
-
This returns a new string with all surrounding whitespace
removed and internal whitespace normalized to a single space.
- NOTATION_ATTRIBUTE.
Static variable in class org.jdom.Attribute
-
Attribute type: the attribute value is the name of a notation.
- notationDecl(String, String, String).
Method in class org.jdom.input.SAXHandler
-
Handle the declaration of a Notation in a DTD
This converts the JDOM Attribute
parameter to a
DOM Attr
, returning the DOM version.
Print out a
Print out a
Print out a
Print out a
Print out the
Print out the
This converts the JDOM
This will output the
This will print the
This will print the
This converts the JDOM
Print out an
Print out an
Print out a
Print out a
This will handle printing out a list of nodes.
This will handle printing out a list of nodes.
Print out a
Print out a
Print out a
Print out a
Print out a
Print out a
This will handle printing out an
Return a string representing a CDATA node.
Return a string representing a comment.
Return a string representing a DocType.
Return a string representing a document.
Return a string representing an element.
Return a string representing an entity.
Return a string representing a list of nodes.
Return a string representing a PI.
Return a string representing (with trimming, normalizatio, and
escaping possibly applied) a
Return a string representing a Text node.
{
{
{
{
{
{
Document
parameter to a
DOM Document, returning the DOM version.
JDOM Document
, firing off the
SAX events that have been registered.
Document
to the given output stream.
Document
to the given Writer.
Element
parameter to a
DOM Element, returning the DOM version.
{
{
{
{
{
{
{
{
{
{
{
{
String
.
CDATA
node's parent.
Text
node's parent.
Parse command-line arguments of the form -omitEncoding
-indentSize 3 ...
ProcessingInstruction
objects
This will handle printing of a
This will handle printing of
This will handle printing of comments.
This will handle printing of a
This will handle printing of content within a given range.
This will handle printing of the declaration.
This handle printing the DOCTYPE declaration if one exists.
This will handle printing of a
This will handle printing of a
This will handle printing a
This will handle printing of processing instructions.
This prints the stack trace of the
This prints the stack trace of the
This prints the stack trace of the
This will handle printing of
This will handle printing of a sequence of
Default, no-args constructor for implementations
to use if needed.
This will create a new
This will create a new
This will create a new
This will create a new
This will indicate that a processing instruction has been encountered.
{
{
{
{
{
{
Exception
.
Exception
to the given
PrintStream.
Exception
to the given
PrintWriter.
{
{
ProcessingInstruction
with the specified target and data.
ProcessingInstruction
with the specified target and data.
ProcessingInstruction
with the specified target and data.
ProcessingInstruction
with the specified target and data.
EntityRef
This removes the supplied Attribute should it exist.
This removes the attribute with the given name and within no namespace.
This removes the attribute with the given name and within the given Namespace.
This removes the first child element (one level deep) with the given local name and belonging to no namespace.
This removes the first child element (one level deep) with the given local name and belonging to the given namespace.
This removes all child elements.
This removes all child elements (one level deep) with the given local name and belonging to no namespace.
This removes all child elements (one level deep) with the given local name and belonging to the given namespace.
This removes the specified CDATA
.
This removes the specified Comment
.
This removes the specified Comment
.
This removes the specified Element
.
This removes the specified EntityRef
.
This removes the specified ProcessingInstruction
.
This removes the specified ProcessingInstruction
.
This removes the specified Text
.
This will remove a namespace declarations from this element.
This will remove the name/value pair with the specified name.
Creates a new SAXBuilder which will attempt to first locate a parser via JAXP, then will try to use a set of default SAX Drivers.
Creates a new SAXBuilder which will attempt to first locate a parser via JAXP, then will try to use a set of default SAX Drivers.
Creates a new SAXBuilder using the specified SAX parser.
Creates a new SAXBuilder using the specified SAX parser.
This will create a new SAXHandler
that listens to SAX
events and creates a JDOM Document.
This will set the Document
to use.
This will create a new SAXHandler
that listens to SAX
events and creates a JDOM Document.
This will create a SAXOutputter
without any
registered handler.
This will create a SAXOutputter
with the
specified ContentHandler
.
This will create a SAXOutputter
with the
specified SAX2 handlers.
This will create a SAXOutputter
with the
specified SAX2 handlers.
This sets an attribute value for this element.
This sets an attribute value for this element.
This sets an attribute value for this element.
This sets the attributes of the element.
This will set the type of the Attribute
.
Set visiblity of CDATA
objects.
This sets the content of the element the same as {
Set visiblity of Comment
objects.
This sets the content of the Document
.
This sets the content of the element.
This will set the ContentHandler
.
This will set the name/value pairs within the passed
Map
as the pairs for the data of
this PI.
This will set the raw data for the PI.
This will set the DeclHandler
.
Set this filter to allow all legal JDOM objects.
This will set the
This sets the
This sets the
This sets the
This sets the
Set filter to match only JDOM objects that are legal
document content.
Receives an object for locating the origin of SAX document
events.
This sets custom DTDHandler for the
This will set the
Set filter to match only JDOM objects that are legal
element content.
This will set the root element name declared by this
DOCTYPE declaration.
Set visiblity of
Sets the output encoding.
Set visiblity of
This sets custom EntityResolver for the
This will set the
This sets custom ErrorHandler for the
This will set the
This will set whether empty elements are expanded from
This sets whether or not to expand entities for the builder.
This sets whether or not to expand entities during the build.
This sets a feature on the SAX parser.
This will set the state of a SAX feature.
Set filtering mask.
Specifies whether or not the parser should elminate whitespace in
element content (sometimes known as "ignorable whitespace") when
building the document.
Specifies whether or not the parser should elminate whitespace in
element content (sometimes known as "ignorable whitespace") when
building the document.
Set the indent on or off, newlines must be set to
This will set the indent
This will set the indent
Set the initial indentation level.
This will set the indent
This attempts to change the DocumentType to have the given internal DTD
subset value.
This sets the data for the internal subset.
This will set the
This will set the newline separator (
This sets the local name of the
This sets the (local) name of the
This will set the name of this
This sets this
This sets this
Sets whether newlines (
This will set whether the XML declaration
(
This will set whether the XML declaration
(
Ensure that text immediately preceded by or followed by an
element will be "padded" with a single space.
This will set the parent of this This will set the parent of the
This will set the parent of this
This will set the parent of this
This will set the parent of this
This will set the parent of this This will set the parent of the
Set visiblity of
This sets a property on the SAX parser.
This will set the value of a SAX property.
This will set the public ID of an externally
referenced DTD.
This will set the public ID of this
This will define whether attribute namespace declarations shall be
reported as "xmlns" attributes.
This sets the root
This will set whether the XML declaration
(
This will set the system ID of an externally
referenced DTD.
This will set the system ID of this This will set the value of this
This will set the value of the
This sets the content of the element to be the text given.
This will set the value of this
This will set whether the text is output verbatim (false)
or with whitespace normalized as per
This will set whether the text has leading/trailing whitespace
trimmed.
Set visiblity of
This will set whether content between tags consisting of all
whitespace is printed or trimmed.
This sets validation for the builder.
This sets validation for the builder.
This will set the value of the
This will set the value for the specified name/value
pair.
This sets custom XMLFilter for the
This indicates that an unresolvable entity reference has been
encountered, normally because the external DTD subset has not been
read.
Report a CDATA section - ignored in SAXBuilder.
This will signify that a DTD is being parsed, and can be
used to ensure that comments and other lexical structures
in the DTD are not added to the JDOM
This reports the occurrence of an actual element.
This will add the prefix mapping to the JDOM
{
{
{
{
{
Builder
.
DTDHandler
.
Element
objects.
EntityRef
objects.
Builder
.
EntityResolver
.
Builder
.
ErrorHandler
.
<tagName/>
to
<tagName></tagName>
.
true
for indentation to actually occur.
String
's size; a size
of 4 would result in the indentation being equivalent to the
String
" " (four spaces).
String
to use; this
is usually a String
of empty spaces.
String
's size; an indentSize
of 4 would result in the indentation being equivalent to the
String
" " (four spaces).
LexicalHandler
.
lineSeparator
).
Attribute
.
Element
.
EntityRef
.
Attribute
's {
Element
's {
lineSeparator
) should
be printed.
<?xml version="1.0"?>
)
will be omitted or not.
<?xml version="1.0" encoding="UTF-8"?>
)
includes the encoding of the document.
Attribute
.
CDATA
node to the
supplied {
Comment
.
Element
.
Entity
.
ProcessingInstruction
.
Text
node to the supplied
{
ProcessingInstruction
objects.
EntityRef
.
{
<?xml version="1.0"?>
)
will be suppressed or not.
EntityRef
.
CDATA
node.Comment
.
Text
node.{
Text
objects.
Attribute
.
Builder
.
Document
object.
Document
object.
EntityRef
Comment
Text
objects
This is the protected, no-args constructor standard in all JDOM classes.
This creates the Text with the supplied text.
This constructor creates a new Text
node, with the
supplied string value as it's character content.
This returns a String
representation of the
Attribute
, suitable for debugging.
This returns a String
representation of the
CDATA
node, suitable for debugging.
This returns a String
representation of the
Comment
, suitable for debugging.
This returns a String
representation of the
DocType
, suitable for debugging.
This returns a String
representation of the
Document
, suitable for debugging.
This returns a String
representation of the
Element
, suitable for debugging.
This returns a String
representation of the
EntityRef
, suitable for debugging.
This returns a String
representation of this
Namespace
, suitable for use in debugging.
This returns a String
representation of the
ProcessingInstruction
, suitable for debugging.
This returns a String
representation of the
Text
node, suitable for debugging.
Return a string listing of the settings for this XMLOutputter instance.
Attribute
Attribute type: the attribute has not been declared or type is unknown.
Handler for unparsed entity declarations in the DTD
Attribute
This method is called when a warning has occurred; this indicates that while no XML rules were broken, something appears to be incorrect or missing.
This will create an XMLOutputter
with no additional
whitespace (indent or newlines) added; the whitespace from the
element text content is fully preserved.
This will create an XMLOutputter
with the given indent
added but no new lines added; all whitespace from the element text
content is included as well.
This will create an XMLOutputter
with the given indent
that prints newlines only if newlines
is
true
; all whitespace from the element text content is
included as well.
This will create an XMLOutputter
with
the given indent and new lines printing only if
newlines
is true
, and encoding format
encoding
.
This will create an XMLOutputter
with all the
options as set in the given XMLOutputter
.