|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractNamespace
is an abstract base class for tree
implementors to use for implementation inheritence.
AbstractBranch
is an abstract base class for tree implementors
to use for implementation inheritence.
AbstractCDATA
is an abstract base class for tree implementors
to use for implementation inheritence.
AbstractCharacterData
is an abstract base class for tree
implementors to use for implementation inheritence.
AbstractComment
is an abstract base class for tree
implementors to use for implementation inheritence.
AbstractDocument
is an abstract base class for tree
implementors to use for implementation inheritence.
AbstractDocumentType
is an abstract base class for tree
implementors to use for implementation inheritence.
AbstractElement
is an abstract base class for tree
implementors to use for implementation inheritence.
AbstractEntity
is an abstract base class for tree implementors
to use for implementation inheritence.
AbstractNode
is an abstract base class for tree implementors
to use for implementation inheritence.
AbstractProcessingInstruction
is an abstract base class for
tree implementors to use for implementation inheritence.
AbstractText
is an abstract base class for tree implementors
to use for implementation inheritence.
Action
represents some default action which should occur when
a rule matches a node in the XSLT processing model.
Attribute
defines an XML attribute. AttributeDecl
represents an attribute declaration in a DTD.
AttributeHelper
a number of helper methods for working with
attribute values.
accept
is the method used in the Visitor Pattern.
accept
method is the Visitor Pattern
method.
accept
method is the Visitor Pattern
method.
Node
or throws IllegalAddException
if the given node is not of a valid type.
Comment
to this branch.
Element
to this branch.
ProcessingInstruction
to this branch.
Attribute
to this element.
CDATA
to this element.
Entity
to this element.
Text
to this element.
Namespace
to this element.
CDATA
node with the given text to this element.
Comment
node with the given text to this
branch.
Comment
node with the given text to this
element.
Mode
instance
Element
node with the given name to this branch
and returns a reference to the new node.
Element
node with the given QName
to
this branch and returns a reference to the new node.
Element
node with the given qualified name and
namespace URI to this branch and returns a reference to the new node.
Entity
node with the given name and text to
this element and returns a reference to the new node.
ElementHandler
to be called when the specified
path is encounted.
ElementHandler
to be called when the specified
path is encounted.
ElementHandler
to be called when the specified
path is encounted.
ElementHandler
to be called when the specified
path is encounted.
ElementHandler
to be called when the specified
path is encounted.
ElementModifier
to be called when the specified element
path is encounted while parsing the source.
JAXBObjectHandler
that will be supplied with the
unmarshalled representation of the xml fragment whenever the specified
path is encounted.
JAXBObjectModifier
to be called when the specified xml
path is encounted while parsing the source.
Text
node with the given text to this element.
Element.getNamespace()
method.
Stylesheet.applyTemplates(Object, XPath)
instead.
Stylesheet.applyTemplates(Object, XPath, String)
instead.
Node
, this will processes all of the
children of that node.
asXML
returns the textual XML representation of this node.
asXPathResult
returns a version of this node which is
capable of being an XPath result.
Attribute
instances this element contains as a backed
List
so that the attributes may be modified directly using the
List
interface.
BackedList
represents a list of content of a Branch
. BaseElement
is a useful base class for implemementation
inheritence of an XML element.
BeanAttribute
represents a mutable XML attribute which is
backed by a property of the JavaBean of its parent element.
BeanAttributeList
implements a list of Attributes which are
the properties of a JavaBean.
BeanDocumentFactory
is a factory of DOM4J objects which may be
BeanElements which are backed by JavaBeans and their properties.
BeanElement
uses a Java Bean to store its attributes.
BeanMetaData
contains metadata about a bean class.
Branch
interface defines the common behaviour for Nodes which
can contain child nodes (content) such as XML elements and documents. BranchTreeNode
implements the Swing TreeNode interface to bind
dom4j XML Branch nodes (i.e. CDATA
defines an XML CDATA section.
CharacterData
is a marker interface for character based nodes
such as the CDATA
,Comment
and
Text
nodes.
Comment
defines the behavior of an XML comment.
ContentListFacade
represents a facade of the content of a
Branch
which is returned via calls to the Branch.content()
method to allow users to modify the content of a
Branch
directly using the List
interface. Map
instances indexed by URI which contain caches of
Namespace
for each prefix
Node
instances this branch may contain.
clone
will return a deep clone or if this node is
read-only then clone will return the same instance.
List
so that
the content of this branch may be modified directly using the
List
interface.
Attribute
event from a
DOM4J Attribute
.
Characters
event from a DOM4J Text
.
Characters
event from a DOM4J CDATA
.
Comment
event from a
DOM4J Comment
.
DTD
event from a DOM4J DocumentType
.
EndDocument
event from a DOM4J Document
.
EndElement
event from a DOM4J Element
.
Mode
instance which should add
the necessary default rules
Namespace
event from a
DOM4J Namespace
.
Namespace
instance
createPattern
parses the given XPath expression to create
an XSLT style Pattern
instance which can then be used in an XSLT
processing model.
createPattern
parses the given XPath expression to create
an XSLT style Pattern
instance which can then be used in an XSLT
processing model.
ProcessingInstruction
event from a DOM4J ProcessingInstruction
.
QName
from a DOM4J QName
.
createSingleton
creates the singleton instance from the
given class name.
StartDocument
event from a DOM4J Document
.
StartElement
event from a DOM4J Element
.
createXPath
parses an XPath expression and creates a new
XPath XPath
instance.
createXPath
parses an XPath expression and creates a new
XPath XPath
instance.
createXPath
parses an XPath expression and creates a new
XPath XPath
instance using the singleton DocumentFactory
.
createXPath
parses an XPath expression and creates a new
XPath XPath
instance using the singleton DocumentFactory
.
createXPath
creates an XPath object for the given
xpathExpression.
createXPathFilter
parses a NodeFilter from the given XPath
filter expression.
createXPathFilter
parses a NodeFilter from the given XPath
filter expression.
createXPathFilter
parses a NodeFilter from the given XPath
filter expression using the singleton DocumentFactory
.
TransformerFactory.getFeature(java.lang.String)
returns
true
when passed this value as an argument then the
Transformer natively supports dom4j .
DOMAttribute
implements a doubly linked attribute which
supports the W3C DOM API.
DOMAttributeNodeMap
implements a W3C NameNodeMap for the
attributes of an element.
DOMCDATA
implements a CDATA Section which supports the W3C DOM
API.
DOMText
implements a Text node which supports the W3C DOM API.
DOMDocument
implements an XML document which supports the W3C
DOM API.
DOMDocumentFactory
is a factory of DOM4J objects which
implement the W3C DOM API.
DOMDocumentType
implements a DocumentType node which supports
the W3C DOM API.
DOMElement
implements an XML element which supports the W3C
DOM API.
DOMEntity
implements a Entity node which supports the W3C DOM
API.
DOMNamespace
implements a Namespace that is compatable with
the DOM API.
DOMNodeHelper
contains a collection of utility methods for use
across Node implementations.
DOMProcessingInstruction
implements a ProcessingInstruction
node which supports the W3C DOM API.
DOMReader
navigates a W3C DOM tree and creates a DOM4J tree
from it.
DOMText
implements a Text node which supports the W3C DOM API.
DOMWriter
takes a DOM4J tree and outputs it as a W3C DOM
object
DatatypeAttribute
represents an Attribute which supports the
XML Schema Data Types
specification.
DatatypeDocumentFactory
is a factory of XML objects which
support the XML Schema Data Types
specification.
DatatypeElement
represents an Element which supports the XML Schema Data Types
specification.
DatatypeElementFactory
is a factory for a specific Element in
an XML Schema.
DefaultAttribute
implements a doubly linked node which
supports the parent relationship and is mutable.
Attribute
with the specified local name and
value.
Attribute
with the specified local name, value
and Namespace
.
Attribute
with the specified local name, value
and Namespace
.
DefaultCDATA
is the default CDATA implementation. DefaultComment
is the default Comment implementation. DefaultDocument
is the default DOM4J default implementation of
an XML document.
DefaultDocumentType
is the DOM4J default implementation of an
XML document type.
DocumentType
with a reference to
the external DTD
DocumentType
with a reference to
the external DTD
DefaultElement
is the default DOM4J default implementation of
an XML element.
DefaultEntity
is the default Entity implementation. Entity
with the specified name
Entity
with the specified name and text.
Entity
with the specified name and text.
DefaultNamespace
implements a doubly linked node which
supports the parent relationship and is mutable. DefaultNamespaceContext
implements a Jaxen NamespaceContext
such that a context node is used to determine the current XPath namespace
prefixes and namespace URIs available.
DefaultPattern
a default implementation of Pattern which can
take any XPath implementation or NodeFilter for defining the pattern.
DefaultProcessingInstruction
is the default Processing
Instruction implementation. DefaultText
is the default Text implementation. XPath
which uses the Jaxen project.
Document
defines an XML Document.
DocumentException
is a nested Exception which may be thrown
during the processing of a DOM4J document.
DocumentFactory
is a collection of factory methods to allow
easy custom building of DOM4J trees. DocumentHelper
is a collection of helper methods for using
DOM4J.
DocumentResult
implements a JAXP SAXResult
for a
Document
.
DocumentSource
implements a JAXP SAXSource
for a
.
SAXSource
for the given Node
.
SAXSource
for the given Document
.
DocumentTreeModel
implements a Swing TreeModel for a dom4j XML
Document.
DocumentType
defines an XML DOCTYPE declaration.
Locator
is only really useful when parsing a
textual document as its main purpose is to identify the line and column
number.
Element
interface defines an XML element. AttributeDecl
represents an element declaration in a DTD.
ElementHandler
interface defines a handler of
Element
objects. Element
objects. ElementHandler
instances to retrieve
information about the current path hierarchy they are to process. Entity
defines an XML entity.
ExternalEntityDecl
represents an external entity declaration
in a DTD.
evaluate
evaluates an XPath expression and returns the
result as an Object
.
FlyweightAttribute
is a Flyweight pattern implementation of a
singly linked, read-only XML Attribute.
Attribute
with the specified local name and
value.
Attribute
with the specified local name, value
and Namespace
.
FlyweightCDATA
is a Flyweight pattern implementation of a
singly linked, read-only XML CDATA.
FlyweightComment
is a Flyweight pattern implementation of a
singly linked, read-only XML Comment.
FlyweightEntity
is a Flyweight pattern implementation of a
singly linked, read-only XML entity.
Entity
with the specified name
Entity
with the specified name and text.
FlyweightProcessingInstruction
is a Flyweight pattern
implementation of a singly linked, read-only XML Processing Instruction.
FlyweightText
is a Flyweight pattern implementation of a
singly linked, read-only XML Text.
XML Schema
or Java Bean
bindings or will return the same value as Node.getText()
.
Element.getText()
getDocument
returns the Document
that this
Node
is part of if this node supports the parent
relationship.
DocumentFactory
used to create the DOM4J
document structure
DatatypeElementFactory
for the given
<element> schema element
Node.getName()
method.
org.dom4j.dtd
package
org.dom4j.dtd
package
getName
returns the name of this node.
Namespace
of this element if one exists
otherwise null is returned returned.
Namespace
of this element if one exists
otherwise Namespace.NO_NAMESPACE
is returned.
Namespace
which is mapped to the given prefix
or null if it could not be found.
Namespace
which is mapped to the given URI or
null if it could not be found.
String
is returned.
String
is returned.
String
is returned.
String
is returned.
getParent
returns the parent Element
if
this node supports the parent relationship or null if it is the root
element or does not support the parent relationship.
QName
of this attribute which represents the
local name, the qualified name and the Namespace
.
QName
of this element which represents the
local name, the qualified name and the Namespace
.
QName
for the given qualified name, using the
namespace URI in scope for the given prefix of the qualified name or the
default namespace if the qualified name has no prefix.
Element
for this document.
Node.getName()
method.
getText
will return the textual version of the XPath
expression.
null
when unspecified or when it is not known (such as
when the Document was created in memory) or when the implementation does
not support this operation.
XMLWriter
.
HTMLWriter
takes a DOM4J tree and formats it to a stream as
HTML. JAXBReader
has finished parsing the xml path the
handler was registered for.
hasContent
returns true if this node is a Branch (either
an Element or a Document) and it contains at least one content node such
as a child Element or Text node.
Element
has mixed content.
IllegalAddException
is thrown when a node is added incorrectly
to an Element
IndexedDocumentFactory
is a factory of XML objects which
create indexed Element implementations to allow quicker lookup via name of
Element and Attributes though at the expense of more memory used to create
the name indexes.
IndexedElement
is an implementation of Element
which
maintains an index of the attributes and elements it contains to optimise
lookups via name.
InternalEntityDecl
represents an internal entity declaration
in a DTD.
InvalidSchemaException
is thrown when an invalid XML Schema
document is used
InvalidXPathException
is thrown when an invalid XPath
expression is used to traverse an XML document
Document
is not kept in
memory.
isReadOnly
returns true if this node is read only and
cannot be modified.
Element
has text only content.
XMLWriter
. ClassLoader
.
Classloader
.
JAXBModifier
in order to change unmarshalled XML fragments.Classloader
.
Element
objects to an XML stream. Classloader
.
Classloader
.
LeafTreeNode
implements the Swing TreeNode interface to bind a
leaf XML nodes to a Swing TreeModel.
Mode
manages a number of RuleSet instances for the mode in a
stylesheet. matches
returns true if evaluating the given XPath
expression on this node returns a non-empty node set containing this
node.
matches
returns true if the given node matches the filter
condition.
matches
returns true if the given node matches the XPath
expression.
File
and writes it to the
specified XMLWriter
using SAX.
InputSource
and
writes it to the specified XMLWriter
using SAX.
InputStream
and writes it
to the specified XMLWriter
using SAX.
InputStream
and writes it
to the specified XMLWriter
using SAX.
Reader
and writes it to
the specified XMLWriter
using SAX.
Reader
and writes it to
the specified XMLWriter
using SAX.
URL
and writes it to the
specified XMLWriter
using SAX.
XMLWriter
using SAX.
File
with SAX
File
with SAX, using the given
Charset
.
InputSource
with SAX.
InputStream
with SAX.
InputStream
with SAX.
Reader
with SAX.
Reader
with SAX.
JAXBModifier
has finished parsing the xml path
the handler was registered for.
Namespace
is a Flyweight Namespace that can be shared amongst
nodes.
NamespaceCache
caches instances of
DefaultNamespace
for reuse both across documents and within
documents.
QName
) which are in
scope. Node
defines the polymorphic behavior for all XML nodes in a
dom4j tree.
NodeComparator
is a Comparator
of Node instances which
is capable of comparing Nodes for equality based on their values.
NodeFilter
defines the behavior for a filter or predicate
which acts on a DOM4J Node. NodeTypePattern
implements a Pattern which matches any node of
the given node type.
NonLazyDocumentFactory
is a factory of XML objects which avoid
using the lazy creation pattern. NonLazyElement
is the default DOM4J default implementation of
an XML element.
NullAction
represents an empty action that does nothing.
Entity
Map
instances indexed by namespace which contain caches
of QName
for each name
QName
instances with no namespace
Namespace
instances indexed by URI for default
namespaces with no prefixes
Node
at the specified index position.
Node
instances that this branch
contains.
Text
nodes in the full depth of the sub-tree
underneath this Node
, including attribute nodes, into a
"normal" form where only structure (e.g., elements, comments, processing
instructions, CDATA sections, and entity references) separates
Text
nodes, i.e., there are neither adjacent
Text
nodes nor empty Text
nodes.
Text
nodes in the full depth of the sub-tree
underneath this Node
, including attribute nodes, into a
"normal" form where only structure (e.g., elements, comments, processing
instructions, CDATA sections, and entity references) separates
Text
nodes, i.e., there are neither adjacent
Text
nodes nor empty Text
nodes.
numberValueOf
evaluates an XPath expression and returns
the numeric value of the XPath expression if the XPath expression results
in a number, or null if the result is not a number.
numberValueOf
evaluates an XPath expression and returns
the numeric value of the XPath expression if the XPath expression results
is a number, or null if the result is not a number.
OutputFormat
represents the format configuration used by
and its base classes to format the XML output
OutputFormat
with no additional whitespace
(indent or new lines) added.
OutputFormat
with the given indent added but no
new lines added.
OutputFormat
with the given indent added with
optional newlines between the Elements.
OutputFormat
with the given indent added with
optional newlines between the Elements and the given encoding format.
Pattern
based XML rule engine which implements
the full XSLT processing model while allowing any Action
to be fired if a pattern matches.
Pattern
defines the behaviour for pattern in the XSLT
processing model.
PerThreadSingleton
is an implementation of the
SingletonStrategy used to provide common factory access to a single object
instance based on an implementation strategy for one object instance per
thread. ProcessingInstruction
defines an XML processing instruction.
ProxyDocumentFactory
implements a proxy to a DocumentFactory
which is useful for implementation inheritence, allowing the pipelining of
various factory implementations. ProxyXmlStartTag
implements the XPP XmlSmartTag
interface while creating a dom4j Element
underneath.-omitEncoding
-indentSize 3 -newlines -trimText
parseText
parses the given text as an XML document and
returns the newly created Document.
Map
.
Namespace
from the stack
QName
represents a qualified name value of an XML element or
attribute. QNameCache
caches instances of QName
for reuse
both across documents and within documents.
Rule
matches against DOM4J Node so that some action can be
performed such as in the XSLT processing model.
RuleManager
manages a set of rules such that a rule can be
found for a given DOM4J Node using the XSLT processing model.
RuleSet
manages a set of rules which are sorted in order of
relevance according to the XSLT defined conflict resolution policy. File
URL
using SAX
Reader
using SAX
Reader
using SAX
InputSource
using SAX
File
URL
Reader
Reader
File
URL
Reader
Reader
File
File
, using the given Charset
.
InputSource
InputStream
InputStream
Reader
Reader
Document
from the provided stream.
Node
from the event stream.
Node
if the node is an immediate child
of this branch.
Comment
if the node is an immediate
child of this branch.
Element
if the node is an immediate
child of this branch.
ProcessingInstruction
if the node is an
immediate child of this branch.
Attribute
from this element.
CDATA
if the node is an immediate child
of this element.
Entity
if the node is an immediate child
of this element.
Namespace
if the node is an immediate
child of this element.
Text
if the node is an immediate child
of this element.
removeAttributes()
instead.
ElementHandler
from the event based processor,
for the specified path.
ElementHandler
from the event based processor,
for the specified path.
ElementHandler
from the event based processor,
for the specified path.
ElementHandler
from the event based processor,
for the specified path.
ElementHandler
from the event based processor,
for the specified path.
ElementModifier
from the event based processor, for
the specified element path.
JAXBObjectHandler
from the event based processor, for
the specified element path.
JAXBObjectModifier
from the event based processor,
for the specified element path.
JAXBObjectHandler
and ElementHandler
instances from the event based processor.
ElementModifier
instances from the event
based processor.
JAXBObjectModifier
instances from the
event based processor.
SAXContentHandler
builds a dom4j tree via SAX events.
XMLReader
to parse the source.
XMLReader
to parse the source.
SAXReader
creates a DOM4J tree from SAX parsing events.
SAXValidator
validates an XML document by writing the document
to a text buffer and parsing it with a validating SAX parser. SAXWriter
writes a DOM4J tree to a SAX ContentHandler.
Document
, as well as other Node
s, from a StAX
XMLEventReader
.STAXEventReader
instance with a
default DocumentFactory
.
STAXEventReader
instance that uses the
specified DocumentFactory
to construct DOM4J Node
s.
Node
s to a StAX event stream. STAXEventWriter
that writes events to the
provided file.
STAXEventWriter
that writes events to the
provided character stream.
STAXEventWriter
that writes events to the
provided stream.
STAXEventWriter
that writes events to the
provided event stream.
SchemaParser
reads an XML Schema Document.
SimpleSingleton
is an implementation of the SingletonStrategy
interface used to provide common factory access for the same object instance.
SingleIterator
is an Iterator
over a single object
instance.
SingletonStrategy
is an interface used to provide common
factory access for the same object based on an implementation strategy for
singleton. Stylesheet
implements an XSLT stylesheet such that rules can
be added to the stylesheet and the stylesheet can be applied to a source
document or node.
selectNodes
performs the given XPath expression on the
List
of Node
instances appending all the results together
into a single list.
selectNodes
performs the given XPath expression on the
List
of Node
instances appending all the results together
into a single list.
selectNodes
evaluates an XPath expression and returns the
result as a List
of Node
instances or
String
instances depending on the XPath expression.
selectNodes
evaluates an XPath expression then sorts the
results using a secondary XPath expression Returns a sorted
List
of Node
instances.
selectNodes
evaluates an XPath expression then sorts the
results using a secondary XPath expression Returns a sorted
List
of Node
instances.
selectNodes
performs this XPath expression on the given
Node
or List
of Node
s instances appending all
the results together into a single list.
selectNodes
evaluates the XPath expression on the given
Node
or List
of Node
s and returns the result as
a List
of Node
s sorted by the sort XPath
expression.
selectNodes
evaluates the XPath expression on the given
Node
or List
of Node
s and returns the result as
a List
of Node
s sorted by the sort XPath
expression.
selectObject
evaluates an XPath expression and returns the
result as an Object
.
selectSingleNode
evaluates an XPath expression and returns
the result as a single Node
instance.
selectSingleNode
evaluates this XPath expression on the
given Node
or List
of Node
s and returns the
result as a single Node
instance.
Element.addAttribute(String,String)
instead. WILL BE REMOVED IN
dom4j-1.6 !!
Element.addAttribute(QName,String)
instead. WILL BE REMOVED IN
dom4j-1.6 !!
AbstractElement.addAttribute(String,String)
instead. WILL BE REMOVED IN
dom4j-1.6 !!
AbstractElement.addAttribute(String,String)
instead. WILL BE REMOVED IN
dom4j-1.6 !!
XSDatatype
for the given
<attribute> QNames
SAXReader
.
List
of
Node
instances.
ContentHandler
called when SAX events are raised
DTDHandler
.
Node.setText(String)
if it doesn't.
Node.setText(java.lang.String)
if it doesn't
ElementHandler
instances have been
registered, this will set a default ElementHandler
to be
called for any path which does NOT have a handler registered.
ElementHandler
instances have been
registered, this will set a default ElementHandler
to be
called for any path which does NOT have a handler registered.
ElementHandler
instances have been
registered, this will set a default ElementHandler
to be
called for any path which does NOT have a handler registered.
setDocument
sets the document of this node if the parent
relationship is supported or does nothing if the parent relationship is
not supported.
SAXSource
Document
instance that this
TreeModel
is based on
DocumentFactory
used to create new
documents.
DocumentFactory
used to create the DOM4J
document tree.
DocumentFactory
used to create new
documents.
DocumentFactory
used to create new
documents.
DocumentFactory
used to create new
documents.
Document
implementation class used by
the writer when creating DOM documents.
Document
implementation class name used
by the writer when creating DOM documents.
Node.setName(java.lang.String)
method.
EntityResolver
.
ErrorHandler
used by the SAX
XMLReader
.
ErrorHandler
used by the SAX
XMLReader
.
ErrorHandler
.
<tagName>
to
<tagName></tagName>
.
org.dom4j.dtd
package
String
to use; this is usually a
String
of empty spaces.
String
's size; an indentSize of
4 would result in the indention being equivalent to the
String
" " (four space characters).
org.dom4j.dtd
package
LexicalHandler
.
UnsupportedOperationException
if it is read-only.
Namespace
of this element or if this element is
read only then an UnsupportedOperationException
is thrown.
<?
- setOutput(File) -
Method in class org.dom4j.jaxb.JAXBModifier
- Sets the Output to write the (modified) xml document to.
- setOutput(OutputStream) -
Method in class org.dom4j.jaxb.JAXBModifier
- Sets the Output to write the (modified) xml document to.
- setOutput(Writer) -
Method in class org.dom4j.jaxb.JAXBModifier
- Sets the Output to write the (modified) xml document to.
- setOutput(File) -
Method in class org.dom4j.jaxb.JAXBWriter
- Defines to write the resulting output to the specified
File
.
- setOutput(OutputStream) -
Method in class org.dom4j.jaxb.JAXBWriter
- Defines to write the resulting output to the specified
OutputStream
- setOutput(Writer) -
Method in class org.dom4j.jaxb.JAXBWriter
- Defines to write the resulting output to the specified
Writer
.
- setOutputStream(OutputStream) -
Method in class org.dom4j.io.XMLWriter
-
- setPadText(boolean) -
Method in class org.dom4j.io.OutputFormat
-
Ensure that text immediately preceded by or followed by an element will
be "padded" with a single space.
- setParent(Element) -
Method in interface org.dom4j.Node
-
setParent
sets the parent relationship of this node if the
parent relationship is supported or does nothing if the parent
relationship is not supported.
- setParent(Element) -
Method in class org.dom4j.datatype.DatatypeAttribute
-
- setParent(LeafTreeNode) -
Method in class org.dom4j.swing.LeafTreeNode
- Sets the parent of this node but doesn't change the parents children
- setParent(Element) -
Method in class org.dom4j.tree.AbstractNode
-
- setParent(Element) -
Method in class org.dom4j.tree.BaseElement
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultAttribute
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultCDATA
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultComment
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultElement
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultEntity
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultNamespace
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultProcessingInstruction
-
- setParent(Element) -
Method in class org.dom4j.tree.DefaultText
-
- setPattern(Pattern) -
Method in class org.dom4j.rule.Rule
- Setter for property pattern.
- setPrefix(String) -
Method in class org.dom4j.dom.DOMAttribute
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMCDATA
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMComment
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMDocument
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMDocumentType
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMElement
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMEntityReference
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMNamespace
-
- setPrefix(Node, String) -
Static method in class org.dom4j.dom.DOMNodeHelper
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMProcessingInstruction
-
- setPrefix(String) -
Method in class org.dom4j.dom.DOMText
-
- setPreformattedTags(Set) -
Method in class org.dom4j.io.HTMLWriter
-
Override the default set, which includes PRE, SCRIPT, STYLE, and
TEXTAREA, case insensitively.
- setPriority(double) -
Method in class org.dom4j.rule.Rule
- Setter for property priority.
- setProcessingInstructions(List) -
Method in interface org.dom4j.Branch
- Sets all the processing instructions for this branch
- setProcessingInstructions(List) -
Method in class org.dom4j.tree.AbstractBranch
-
- setProperty(String, Object) -
Method in class org.dom4j.io.SAXReader
- Allows a SAX property to be set on the underlying SAX parser.
- setProperty(String, Object) -
Method in class org.dom4j.io.SAXWriter
- Sets the given SAX property
- setProperty(String, Object) -
Method in class org.dom4j.io.XMLWriter
-
- setProxy(DocumentFactory) -
Method in class org.dom4j.util.ProxyDocumentFactory
-
- setPruneElements(boolean) -
Method in class org.dom4j.jaxb.JAXBModifier
- Define whether the modified
Document
must only be
written to the output and pruned from the DOM4J tree.
- setPruneElements(boolean) -
Method in class org.dom4j.jaxb.JAXBReader
- Set to true when DOM4J elements must immediately be pruned from the tree.
- setPublicID(String) -
Method in interface org.dom4j.DocumentType
-
- setPublicID(String) -
Method in class org.dom4j.dtd.ExternalEntityDecl
- Setter for property publicID.
- setPublicID(String) -
Method in class org.dom4j.tree.DefaultDocumentType
- Sets the public ID of the document type
- setQName(QName) -
Method in interface org.dom4j.Element
-
Sets the
QName
of this element which represents the local
name, the qualified name and the Namespace
.
- setQName(QName) -
Method in class org.dom4j.tree.BaseElement
-
- setQName(QName) -
Method in class org.dom4j.tree.DefaultElement
-
- setResolveEntityRefs(boolean) -
Method in class org.dom4j.io.XMLWriter
-
- setRootElement(Element) -
Method in interface org.dom4j.Document
- Sets the root element for this document
- setRootElement(Element) -
Method in class org.dom4j.tree.AbstractDocument
-
- setRowExpression(String) -
Method in class org.dom4j.swing.XMLTableDefinition
-
- setRowXPath(XPath) -
Method in class org.dom4j.swing.XMLTableDefinition
- Setter for property rowXPath.
- setSingletonClassName(String) -
Method in class org.dom4j.util.PerThreadSingleton
-
- setSingletonClassName(String) -
Method in class org.dom4j.util.SimpleSingleton
-
- setSingletonClassName(String) -
Method in interface org.dom4j.util.SingletonStrategy
- set a singleton class name that will be used to create the singleton
based on the strategy implementation of this interface.
- setSource(Object) -
Method in class org.dom4j.swing.XMLTableModel
- Setter for the XML source, which is usually a Node or List of nodes.
- setStringInternEnabled(boolean) -
Method in class org.dom4j.io.SAXReader
- Sets whether String interning is enabled or disabled for element &
attribute names and namespace URIs
- setStripWhitespaceText(boolean) -
Method in class org.dom4j.io.SAXContentHandler
- Sets whether whitespace between element start and end tags should be
ignored.
- setStripWhitespaceText(boolean) -
Method in class org.dom4j.io.SAXReader
- Sets whether whitespace between element start and end tags should be
ignored.
- setSuppressDeclaration(boolean) -
Method in class org.dom4j.io.OutputFormat
-
This will set whether the XML declaration (
<?
- setSystemID(String) -
Method in interface org.dom4j.DocumentType
-
- setSystemID(String) -
Method in class org.dom4j.dtd.ExternalEntityDecl
- Setter for property systemID.
- setSystemID(String) -
Method in class org.dom4j.tree.DefaultDocumentType
- Sets the system ID of the document type
- setTarget(String) -
Method in interface org.dom4j.ProcessingInstruction
- This method is the equivalent to the
Node.setName(java.lang.String)
method.
- setTarget(String) -
Method in class org.dom4j.tree.DefaultProcessingInstruction
-
- setTarget(String) -
Method in class org.dom4j.tree.FlyweightProcessingInstruction
-
- setText(String) -
Method in interface org.dom4j.Node
-
Sets the text data of this node or this method will throw an
UnsupportedOperationException
if it is read-only.
- setText(String) -
Method in class org.dom4j.datatype.DatatypeElement
-
- setText(String) -
Method in class org.dom4j.tree.AbstractAttribute
-
- setText(String) -
Method in class org.dom4j.tree.AbstractElement
-
- setText(String) -
Method in class org.dom4j.tree.AbstractNode
-
- setText(String) -
Method in class org.dom4j.tree.DefaultCDATA
-
- setText(String) -
Method in class org.dom4j.tree.DefaultComment
-
- setText(String) -
Method in class org.dom4j.tree.DefaultEntity
-
- setText(String) -
Method in class org.dom4j.tree.DefaultProcessingInstruction
-
- setText(String) -
Method in class org.dom4j.tree.DefaultText
-
- setText(String) -
Method in class org.dom4j.tree.FlyweightEntity
- sets the value of the entity if it is not defined yet otherwise an
UnsupportedOperationException
is thrown as this class is
read only.
- setTrimText(boolean) -
Method in class org.dom4j.io.OutputFormat
-
This will set whether the text is output verbatim (false) or with
whitespace stripped as per
Element.getTextTrim()
.
- setType(String) -
Method in class org.dom4j.dtd.AttributeDecl
- Setter for property type.
- setType(int) -
Method in class org.dom4j.swing.XMLTableColumnDefinition
- Setter for property type.
- setValidation(boolean) -
Method in class org.dom4j.io.SAXReader
- Sets the validation mode.
- setValue(String) -
Method in interface org.dom4j.Attribute
-
Sets the value of this attribute or this method will throw an
UnsupportedOperationException
if it is read-only.
- setValue(String, String) -
Method in interface org.dom4j.ProcessingInstruction
-
- setValue(String) -
Method in class org.dom4j.bean.BeanAttribute
-
- setValue(String) -
Method in class org.dom4j.datatype.DatatypeAttribute
-
- setValue(String) -
Method in class org.dom4j.dtd.AttributeDecl
- Setter for property value.
- setValue(String) -
Method in class org.dom4j.dtd.InternalEntityDecl
- Setter for property value.
- setValue(String) -
Method in class org.dom4j.tree.AbstractAttribute
-
- setValue(String, String) -
Method in class org.dom4j.tree.AbstractProcessingInstruction
-
- setValue(Object) -
Method in class org.dom4j.tree.ConcurrentReaderHashMap.Entry
- Set the value of this entry.
- setValue(String) -
Method in class org.dom4j.tree.DefaultAttribute
-
- setValue(String, String) -
Method in class org.dom4j.tree.DefaultProcessingInstruction
-
- setValueDefault(String) -
Method in class org.dom4j.dtd.AttributeDecl
- Setter for property valueDefault.
- setValueOfAction(Action) -
Method in class org.dom4j.rule.RuleManager
- Sets the default value-of action which is used in the default rules for
the pattern "text()|@"
- setValueOfAction(Action) -
Method in class org.dom4j.rule.Stylesheet
- Sets the default value-of action which is used in the default rules for
the pattern "text()|@"
- setValues(Map) -
Method in interface org.dom4j.ProcessingInstruction
-
- setValues(Map) -
Method in class org.dom4j.tree.AbstractProcessingInstruction
-
- setValues(Map) -
Method in class org.dom4j.tree.DefaultProcessingInstruction
-
- setVariableContext(VariableContext) -
Method in interface org.dom4j.XPath
- Sets the variable context to be used when evaluating XPath expressions
- setVariableContext(VariableContext) -
Method in class org.dom4j.xpath.DefaultXPath
-
- setVariableContext(VariableContext) -
Method in class org.dom4j.xpath.XPathPattern
-
- setWarningQName(QName) -
Method in class org.dom4j.util.XMLErrorHandler
-
- setWriter(Writer) -
Method in class org.dom4j.io.XMLWriter
-
- setXHTML(boolean) -
Method in class org.dom4j.io.OutputFormat
-
This will set whether or not to use the XHTML standard: like HTML but
passes an XML parser with real, closed tags.
- setXMLEncoding(String) -
Method in interface org.dom4j.Document
- Sets the encoding of this document as it will appear in the XML
declaration part of the document.
- setXMLEncoding(String) -
Method in class org.dom4j.tree.AbstractDocument
-
- setXMLFilter(XMLFilter) -
Method in class org.dom4j.io.SAXReader
- Sets the SAX filter to be used when filtering SAX events
- setXMLReader(XMLReader) -
Method in class org.dom4j.io.DocumentSource
- Sets the XMLReader used for the JAXP
SAXSource
.
- setXMLReader(XMLReader) -
Method in class org.dom4j.io.SAXReader
- Sets the
XMLReader
used to parse SAX events
- setXMLReader(XMLReader) -
Method in class org.dom4j.io.SAXValidator
- Sets the
XMLReader
used to parse SAX events
- setXMLReader(XMLReader) -
Method in class org.dom4j.io.SAXWriter
- Sets the
XMLReader
used to write SAX events to
- setXMLReaderClassName(String) -
Method in class org.dom4j.io.SAXReader
- Sets the class name of the
XMLReader
to be used to parse
SAX events.
- setXMLWriter(XMLWriter) -
Method in class org.dom4j.io.SAXModifier
- Sets the
XMLWriter
used to write the modified document.
- setXMLWriter(XMLWriter) -
Method in class org.dom4j.io.XMLResult
-
- setXPPFactory(XmlPullParserFactory) -
Method in class org.dom4j.io.XPP3Reader
-
- setXPPFactory(XmlPullParserFactory) -
Method in class org.dom4j.io.XPPReader
-
- setXPath(XPath) -
Method in class org.dom4j.swing.XMLTableColumnDefinition
- Setter for property xpath.
- setXPathNamespaceURIs(Map) -
Method in class org.dom4j.DocumentFactory
- Sets the namespace URIs to be used by XPath expressions created by this
factory or by nodes associated with this factory.
- shouldEncodeChar(char) -
Method in class org.dom4j.io.XMLWriter
- Should the given character be escaped.
- singleton -
Static variable in class org.dom4j.datatype.DatatypeDocumentFactory
- The Singleton instance
- singleton -
Static variable in class org.dom4j.util.IndexedDocumentFactory
- The Singleton instance
- singleton -
Static variable in class org.dom4j.util.NonLazyDocumentFactory
- The Singleton instance
- singleton -
Static variable in class org.dom4j.util.UserDataDocumentFactory
- The Singleton instance
- size() -
Method in interface org.dom4j.ElementPath
- DOCUMENT ME!
- size() -
Method in class org.dom4j.bean.BeanAttributeList
-
- size() -
Method in class org.dom4j.tree.ContentListFacade
-
- size() -
Method in class org.dom4j.tree.NamespaceStack
- DOCUMENT ME!
- sort(List, String) -
Static method in class org.dom4j.DocumentHelper
-
sort
sorts the given List of Nodes using an XPath
expression as a Comparator
.
- sort(List, String, boolean) -
Static method in class org.dom4j.DocumentHelper
-
sort
sorts the given List of Nodes using an XPath
expression as a Comparator
and optionally removing
duplicates.
- sort(List) -
Method in interface org.dom4j.XPath
-
sort
sorts the given List of Nodes using this XPath
expression as a Comparator
.
- sort(List, boolean) -
Method in interface org.dom4j.XPath
-
sort
sorts the given List of Nodes using this XPath
expression as a Comparator
and optionally removing
duplicates.
- sort(List) -
Method in class org.dom4j.xpath.DefaultXPath
-
sort
sorts the given List of Nodes using this XPath
expression as a Comparator
.
- sort(List, boolean) -
Method in class org.dom4j.xpath.DefaultXPath
-
sort
sorts the given List of Nodes using this XPath
expression as a Comparator
and optionally removing duplicates.
- sort(List, Map) -
Method in class org.dom4j.xpath.DefaultXPath
- Sorts the list based on the sortValues for each node
- splitText(int) -
Method in class org.dom4j.dom.DOMCDATA
-
- splitText(int) -
Method in class org.dom4j.dom.DOMText
-
- startCDATA() -
Method in class org.dom4j.io.HTMLWriter
-
- startCDATA() -
Method in class org.dom4j.io.SAXContentHandler
-
- startCDATA() -
Method in class org.dom4j.io.SAXEventRecorder
-
- startCDATA() -
Method in class org.dom4j.io.XMLWriter
-
- startDTD(String, String, String) -
Method in class org.dom4j.io.SAXContentHandler
-
- startDTD(String, String, String) -
Method in class org.dom4j.io.SAXEventRecorder
-
- startDTD(String, String, String) -
Method in class org.dom4j.io.XMLWriter
-
- startDocument() -
Method in class org.dom4j.io.SAXContentHandler
-
- startDocument() -
Method in class org.dom4j.io.SAXEventRecorder
-
- startDocument() -
Method in class org.dom4j.io.SAXWriter
-
- startDocument() -
Method in class org.dom4j.io.XMLWriter
-
- startDocument() -
Method in class org.dom4j.jaxb.JAXBWriter
- Start a document by writing the initial XML declaration to the output.
- startElement(String, String, String, Attributes) -
Method in class org.dom4j.io.SAXContentHandler
-
- startElement(String, String, String, Attributes) -
Method in class org.dom4j.io.SAXEventRecorder
-
- startElement(Element, AttributesImpl) -
Method in class org.dom4j.io.SAXWriter
-
- startElement(String, String, String, Attributes) -
Method in class org.dom4j.io.XMLWriter
-
- startEntity(String) -
Method in class org.dom4j.io.SAXContentHandler
-
- startEntity(String) -
Method in class org.dom4j.io.SAXEventRecorder
-
- startEntity(String) -
Method in class org.dom4j.io.XMLWriter
-
- startPrefixMapping(String, String) -
Method in class org.dom4j.io.SAXContentHandler
-
- startPrefixMapping(String, String) -
Method in class org.dom4j.io.SAXEventRecorder
-
- startPrefixMapping(Element, NamespaceStack) -
Method in class org.dom4j.io.SAXWriter
- Fires a SAX startPrefixMapping event for all the namespaceStack which
have just come into scope
- startPrefixMapping(String, String) -
Method in class org.dom4j.io.XMLWriter
-
- substringData(int, int) -
Method in class org.dom4j.dom.DOMCDATA
-
- substringData(int, int) -
Method in class org.dom4j.dom.DOMComment
-
- substringData(CharacterData, int, int) -
Static method in class org.dom4j.dom.DOMNodeHelper
-
- substringData(int, int) -
Method in class org.dom4j.dom.DOMText
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMAttribute
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMCDATA
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMComment
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMDocument
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMDocumentType
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMElement
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMEntityReference
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMNamespace
-
- supports(Node, String, String) -
Static method in class org.dom4j.dom.DOMNodeHelper
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMProcessingInstruction
-
- supports(String, String) -
Method in class org.dom4j.dom.DOMText
-
- supportsParent() -
Method in interface org.dom4j.Node
-
supportsParent
returns true if this node supports the
parent relationship.
- supportsParent() -
Method in class org.dom4j.datatype.DatatypeAttribute
-
- supportsParent() -
Method in class org.dom4j.tree.AbstractNode
-
- supportsParent() -
Method in class org.dom4j.tree.BaseElement
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultAttribute
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultCDATA
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultComment
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultElement
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultEntity
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultNamespace
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultProcessingInstruction
-
- supportsParent() -
Method in class org.dom4j.tree.DefaultText
-
Text
defines an XML Text node.
CDATA
node
Comment
node
Entity
Text
node
UserDataAttribute
support the adornment of a user data object
on an Element or Attribute instance such that the methods
UserDataAttribute.setData(Object)
will get and set the values of a user data object.
UserDataDocumentFactory
is a factory of XML objects which
support the adornment of a user data object on an Element or Attribute
instance such that the methods getData()
and
setData()
will get and set the values of a user data object.
UserDataElement
support the adornment of a user data object on
an Element or Attribute instance such that the methods
UserDataElement.setData(Object)
will get and set the values of a user data object.
Visitor
is used to implement the Visitor
pattern in DOM4J. VisitorSupport
is an abstract base class which is useful for
implementation inheritence or when using anonymous inner classes to create
simple Visitor
implementations.
Document
by writing it to a validating
SAX Parser.
Attribute
valueOf
evaluates an XPath expression and returns the
textual representation of the results the XPath string-value of this
node.
valueOf
evaluates this XPath expression and returns the
textual representation of the results using the XPath string() function.
Document
DocumentType
Element
Attribute
CDATA
Comment
Entity
Namespace
ProcessingInstruction
Text
write
writes this node as the default XML notation for
this node.
Attribute
.
Document
to the current Writer.
Element
, including its Attribute
s, and its value, and all its content (child nodes) to the current
Writer.
CDATA
.
Comment
.
DocumentType
.
Entity
.
Namespace
.
ProcessingInstruction
.
String
, Perfoms the necessary entity escaping and
whitespace stripping.
Text
.
Node
.
Element
to the document.
Attribute
to the stream.
CDATA
to the event stream.
Branch
instance.
Element
Element
Element
to
the document.
Element
to the
document.
Comment
to the stream.
Document
node, and all its contents, to the
stream.
DocumentType
to the stream.
Element
node and its children to the stream.
Element
to the document.
Entity
to the stream.
Namespace
to the stream.
Node
to the stream.
Element
, including its Attribute
s but without its content.
Element
, including its Attribute
s but without its content.
Element
to
the document.
Element
to the
document.
ProcessingInstruction
to the stream.
Text
to the stream.
XMLErrorHandler
is a SAX ErrorHandler
which turns the
SAX parsing errors into XML so that the output can be formatted using XSLT or
the errors can be included in a SOAP message.XMLResult
implements a JAXP SAXResult
for an output
stream with support for pretty printing and control over how the XML is
formatted.
XMLTableColumnDefinition
a column within a table definition.
XMLTableDefinition
represents a table definition based on
XPath expression evaluated on an XML document.
XMLTableDefinition
repro.
XMLWriter
takes a DOM4J tree and formats it to a stream as
XML. XPP3Reader
is a Reader of DOM4J documents that uses the fast
XML Pull Parser 3.x .
XPPReader
is a Reader of DOM4J documents that uses the fast XML Pull Parser 2.x . XPath
represents an XPath expression after it has been parsed
from a String.
XPathException
is thrown when an exception occurs while
evaluating an XPath expression, usually due to some function throwing an
exception.
XPathPattern
is an implementation of Pattern which uses an
XPath xpath.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |