All Packages Class Hierarchy
This adds an attribute to this element.
This adds an attribute to this element with the given name and value.
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.
{
- addNamespaceDeclaration(Namespace).
Method in class org.jdom.Element
-
This will add a namespace declarations to this element.
- append(String).
Method in class org.jdom.Text
-
This will append character content to whatever content already
exists within this Text
node.
- 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, 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
{
- Attribute(String, String, String, String).
Constructor for class org.jdom.Attribute
-
This will create a new Attribute
with the
specified (local) name and value, and place it in
the specified namespace (with prefix).
- attributeDecl(String, String, String, String, String).
Method in class org.jdom.input.SAXHandler
-
- attributes.
Variable in class org.jdom.Element
- The attributes of the
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.
Throwable
Default, no-args constructor for implementations to use if needed.
This creates the CDATA with the supplied text.
This creates the CDATA with the supplied text.
This will report character data (within an element).
This will check the supplied name to see if it valid for use as
a JDOM
This will ensure that the data for a
This will check the supplied string to see if it only contains
characters allowed by the XML 1.0 specification.
This will ensure that the data for a
This will check the supplied name to see if it valid for use as
a JDOM
This will check the supplied name to see if it valid for use as
a JDOM
This will check the supplied name to see if it valid for use as
a JDOM
This will check the supplied name to see if it valid for use as
a JDOM processing instruction target.
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.
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
This creates the XMLReader to be used for reading the XML document.
{
{
{
{
{
{
Attribute
.
CDATA
.
Comment
.
DocType
.
Document
.
EntityRef
.
ProcessingInstruction
.
Text
node, with the
same character content, but no parent.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.
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.
{
- DocType().
Constructor for class org.jdom.DocType
-
Default, no-args constructor for implementations
to use if needed.
- docType(String).
Method in class org.jdom.input.DefaultJDOMFactory
-
- DocType(String).
Constructor for class org.jdom.DocType
-
This will create the DocType
with
the specified element name
- docType(String).
Method in interface org.jdom.input.JDOMFactory
-
This will create the DocType
with
the specified element name
- docType(String, String).
Method in class org.jdom.input.DefaultJDOMFactory
-
- DocType(String, String).
Constructor for class org.jdom.DocType
-
This will create the DocType
with
the specified element name and reference to an
external DTD.
- docType(String, String).
Method in interface org.jdom.input.JDOMFactory
-
This will create the DocType
with
the specified element name and reference to an
external DTD.
- docType(String, String, String).
Method in class org.jdom.input.DefaultJDOMFactory
-
- DocType(String, String, String).
Constructor for class org.jdom.DocType
-
This will create the DocType
with
the specified element name and a reference to an
external DTD.
- docType(String, String, String).
Method in interface org.jdom.input.JDOMFactory
-
This will create the DocType
with
the specified element name and a reference to an
external DTD.
- document.
Variable in class org.jdom.Comment
- Document node if comment is outside the root element, or null if none
- document.
Variable in class org.jdom.DocType
- The document having this DOCTYPE
- document.
Variable in class org.jdom.EntityRef
- Containing document node, or null if none
- document.
Variable in class org.jdom.ProcessingInstruction
- Document node if PI is outside the root element, or null if none
- Document().
Constructor for class org.jdom.Document
-
Default, no-args constructor for implementations
to use if needed.
- document(Element).
Method in class org.jdom.input.DefaultJDOMFactory
-
- Document(Element).
Constructor for class org.jdom.Document
-
This will create a new Document
,
with the supplied {
- document(Element).
Method in interface org.jdom.input.JDOMFactory
-
This will create a new Document
,
with the supplied {
- document(Element, DocType).
Method in class org.jdom.input.DefaultJDOMFactory
-
- Document(Element, DocType).
Constructor for class org.jdom.Document
-
This will create a new Document
,
with the supplied {
- document(Element, DocType).
Method in interface org.jdom.input.JDOMFactory
-
This will create a new Document
,
with the supplied {
- Document(List).
Constructor for class org.jdom.Document
-
This will create a new Document
,
with the supplied list of content, and no
{
- Document(List, DocType).
Constructor for class org.jdom.Document
-
This will create a new Document
,
with the supplied list of content, and the supplied
{
- DOMBuilder().
Constructor for class org.jdom.input.DOMBuilder
-
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.
- DOMBuilder(boolean).
Constructor for class org.jdom.input.DOMBuilder
-
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.
- DOMBuilder(String).
Constructor for class org.jdom.input.DOMBuilder
-
This creates a new DOMBuilder using the specified DOMAdapter
implementation as a way to choose the underlying parser.
- DOMBuilder(String, boolean).
Constructor for class org.jdom.input.DOMBuilder
-
This creates a new DOMBuilder using the specified DOMAdapter
implementation as a way to choose the underlying parser.
- DOMOutputter().
Constructor for class org.jdom.output.DOMOutputter
-
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.
- DOMOutputter(String).
Constructor for class org.jdom.output.DOMOutputter
-
This creates a new DOMOutputter using the specified DOMAdapter
implementation as a way to choose the underlying parser.
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
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
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 tests for equality of this
This tests for equality of this
This tests for equality of this
This tests for equality of this
This tests for equality of this
This tests for equality of this
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.
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.
EntityRef
with the supplied name.
EntityRef
with the supplied name.
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
.
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 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.
This returns the attribute for this element with the given name
and within the given Namespace.
This returns the complete set of attributes for this element, as a
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 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 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
This creates a copy of this
This creates a copy of this
This will return the raw data from all instructions.
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
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
This gets the value of the attribute, in
This will retrieve the element name being
constrained.
This gets the value of the attribute, in
This gets the value of the attribute, in
This gets the value of the attribute, in
This returns the message for the
This will return all content for the
This returns the full content of the element as a List which
may contain objects of type
This will retrieve the local name of the
This returns the (local) name of the
This returns the name of the
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 returns the prefix mapped to this
This returns the first processing instruction for this
This will return the list of
This returns the processing instructions for this
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 cause
This will return the root
This will return the
This will return the
This will return the
This will return the
This will return the
This will return the
This will return the
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 textual data within the
This returns the textual data within the
This returns the textual content directly held under this
element.
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 of this element with all
surrounding whitespace removed.
This returns the namespace URI for this
This will return the actual textual value of this
This returns the 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.
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
.
String
, Element
,
Comment
, ProcessingInstruction
,
CDATA
, and EntityRef
.
Element
, with the new
name specified, and in no namespace.
Element
, with the new
name specified, and in the specified {
{
{
{
{
{
{
{
{
{
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
{
float
form, and if no conversion
can occur, throws a
{
int
form, and if no conversion
can occur, throws a
{
long
form, and if no conversion
can occur, throws a
{
Exception
.
Document
.
String
, Element
,
Comment
, ProcessingInstruction
,
CDATA
, and EntityRef
.
Attribute
.
Element
, without any
namespace prefix, if one exists.
EntityRef
.
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
.
Comment
.
Element
.
EntityRef
.
ProcessingInstruction
.
Text
node, which
is always a JDOM {
Namespace
.
Document
located at the document level
(outside the root element) for the supplied target, or null if
no such processing instruction exists.
{
Document
located at the document level
(outside the root element) which have the supplied target.
String
if
none is referenced.
EntityRef
.
Attribute
.
Element
, in the form
[namespacePrefix]:[localName].
Throwable
, or null
if one does not exist.
Element
for this Document
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.
ProcessingInstruction
in XML format,
usable in an XML document.
String
if
none is referenced.
EntityRef
.
CDATA
.
Comment
.
Namespace
.
Attribute
.
Text
node as a Java
String
.
This returns the hash code for this Attribute
.
This returns the hash code for this CDATA
.
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 indicate whether the element has mixed content or not.
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 print the proper indent characters for the given indent level.
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
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
{
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
.
This will print a new line only if the newlines flag was set to true
Attribute
Element
EntityRef
{
- namespace.
Variable in class org.jdom.Element
- The
{
- NO_NAMESPACE.
Static variable in class org.jdom.Namespace
- Define a
Namespace
for when not in a namespace
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 a
Print out a
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 an Print out an
Print out a
Print out a
Print out a Print out a
Print out a Print out a This will handle printing out an This will handle printing out an {
{
{
{
{
{
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.
{
{
{
{
{
{
{
{
{
{
{
{
Text
node's parent.
-omitEncoding
-indentSize 3 ...
This will handle printing out an
This will handle printing out an
This will write the comment to the specified writer.
This will write the declaration to the given Writer.
This will write the DOCTYPE declaration if one exists.
This will handle printing out an This will handle printing out an
This will handle printing out an
This will write the processing instruction to the specified writer.
This prints the stack trace of the
This prints the stack trace of the
This prints the stack trace of the
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 (other than
the XML declaration) 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 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 attribute with the given name and within the given namespace URI.
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 will remove a namespace declarations from this element.
This will remove the first PI with the specified target.
This will remove all PIs with the specified target.
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
with the
specified ContentHandler
.
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 all the attributes for this element to be those
in the given List
; all existing attributes are removed.
This sets the content of the element to be the List of
Element
objects within the supplied List
.
This will set all content for 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
This sets the
This sets the
This sets the
This sets the
This sets custom DTDHandler for the
This will set the
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.
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.
This will set the indent
This will set the indent This will set the new-line separator.
This will set all content for the
This sets the content of the element.
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
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 this
This will set the parent of this
This will set the parent of this
This will set the parent of this
This sets the PIs for this
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 the
This sets the content of the element to be the text given.
This will set whether the text is output verbatim (false)
or with whitespace normalized as per This will set whether the text is output verbatim (false)
or with whitespace stripped.
Default: false
This sets validation for the builder.
This sets validation for the builder.
This will set the value of the This will set the value of this
This will set the value for the specified name/value
pair.
This sets custom XMLFilter for the
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
.
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 indentation being equivalent to the
String
" " (four space chars).
Document
.
Attribute
.
Element
.
EntityRef
.
Attribute
's {
Element
's {
<?xml version="1.0"?>
)
will be omitted or not.
<?xml version="1.0" encoding="UTF-8"?>
)
includes the encoding of the document.
Comment
.
Comment
.
Element
.
Entity
.
ProcessingInstruction
.
Document
to those in the
List
setPublicID(String).
Method in class org.jdom.DocType
EntityRef
.
{
<?xml version="1.0"?>
)
will be suppressed or not.
EntityRef
.
Comment
.
{
Attribute
.
Text
node.
Builder
.
Document
object.
Document
object.
EntityRef
CDATA
Comment
This is the protected, no-args constructor standard in all JDOM classes.
This constructor creates a new Text
node, with the
supplied 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
, 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.
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 new lines) 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
.