SAXContentHandler builds a dom4j tree via SAX events.
Records SAX events such that they may be "replayed" at a later time.
The SAXModifier reads, modifies and writes XML documents using SAX.
Creates a new modifier that will the specified org.xml.sax.XMLReader to parse the source.
Creates a new modifier that will the specified org.xml.sax.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.
SchemaParser reads an XML Schema Document.
selectNodes performs this XPath expression on the given
Nodeor
Listof
Nodes instances appending all
the results together into a single list.
selectNodes evaluates the XPath expression on the given
Nodeor
Listof
Nodes and returns the result as
a
List of
Node s sorted by the sort XPath
expression.
selectNodes evaluates the XPath expression on the given
Nodeor
Listof
Nodes and returns the result as
a
List of
Node s sorted by the sort XPath
expression.
selectNodes evaluates an XPath expression and returns the
result as a List of Node instances or
String instances depending on the XPath expression.
selectNodes performs the given XPath expression on the
Listof
Nodeinstances appending all the results together
into a single list.
selectNodes performs the given XPath expression on the
Listof
Nodeinstances appending all the results together
into a single list.
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.
selectObject evaluates an XPath expression and returns the
result as an Object.
selectObject evaluates an XPath expression and returns the
result as an Object.
selectSingleNode evaluates this XPath expression on the
given
Nodeor
Listof
Nodes and returns the
result as a single
Node instance.
selectSingleNode evaluates an XPath expression and returns
the result as a single Node instance.
Setter for property action.
Setter for property appearenceCount.
Setter for property attributeName.
Sets the character used to quote attribute values.
Sets the attributes that this element contains
Sets the attribute value of the given fully qualified name.
Sets the attribute value of the given local name.
Registers the given XSDatatype for the given
<attribute> QNames
Sets the underlying event consumer to which events are written.
Sets the contents of this branch as a List of
Node instances.
Sets the ContentHandler called when SAX events are raised
Sets the data value of this attribute if this element supports data
binding or calls
Node.setText(String)if it doesn't.
Sets the data value of this attribute if this element supports data
binding or calls
Node.setText(String)if it doesn't.
Sets the data value of this element if this element supports data binding
or calls Elementif it doesn't
Sets the data value of this attribute if this element supports data
binding or calls
Node.setText(String)if it doesn't.
Sets whether namespace declarations should be exported as "xmlns"
attributes or not.
When multiple ElementHandler instances have been
registered, this will set a default ElementHandler to be
called for any path which does NOT have a handler registered.
When multiple ElementHandler instances have been
registered, this will set a default ElementHandler to be
called for any path which does NOT have a handler registered.
When multiple ElementHandler instances have been
registered, this will set a default ElementHandler to be
called for any path which does NOT have a handler registered.
Sets the DocumentType property
Sets the document used as the JAXP SAXSource
setDocument sets the document of this node if the parent
relationship is supported or does nothing if the parent relationship is
not supported.
This sets the DocumentFactory used to create new
documents.
This sets the DocumentFactory used to create new
documents.
Sets the DocumentFactory to be used when constructing DOM4J nodes.
This sets the DocumentFactory used to create new
documents.
This sets the DocumentFactory used to create new
documents.
Sets the DOM org.w3c.dom.Documentimplementation class used by
the writer when creating DOM documents.
Sets the DOM org.w3c.dom.Documentimplementation class name used
by the writer when creating DOM documents.
Setter for property elementName.
This method is the equivalent to the DocumentTypemethod.
Sets encoding used for InputSource (null means system default encoding)
Sets the EntityResolver used to find resolve URIs such as for DTDs, or
XML Schema documents
Sets the entity resolver used to resolve entities.
Sets the ErrorHandler used by the SAX
XMLReader.
Sets the ErrorHandler used by the SAX
XMLReader.
Sets whether text output should be escaped or not.
Sets the event factory used to construct STAX events.
This will set whether empty elements are expanded from
<tagName> to
<tagName></tagName>.
Sets the list of internal DTD declaration objects, defined in the
org.dom4j.dtdpackage
Sets a SAX feature on the underlying SAX parser.
This implementation does actually use any features but just stores them
for later retrieval
Sets the function context to be used when evaluating XPath expressions
Sets whether we should ignore comments or not.
Sets whether we should ignore comments or not.
Setter for property importPrecedence.
Sets whether DTD external declarations should be expanded into the
DocumentType object or not.
Sets whether DTD external declarations should be expanded into the
DocumentType object or not.
Sets whether internal DTD declarations should be expanded into the
DocumentType object or not.
Sets whether internal DTD declarations should be expanded into the
DocumentType object or not.
Set the indent on or off.
This will set the indent String to use; this is usually a
String of empty spaces.
Set the initial indentation level.
This will set the indent String's size; an indentSize of
4 would result in the indention being equivalent to the
String " " (four space characters).
This method is not supported as this source is always a
instance.
Sets the list of internal DTD declaration objects, defined in the
org.dom4j.dtdpackage
This will set the new-line separator.
Sets the maximum allowed character code that should be allowed unescaped
such as 127 in US-ASCII (7 bit) or 255 in ISO- (8 bit) or -1 to not
escape any characters (other than the special XML characters like <
> &) If this is not explicitly set then it is defaulted from the
encoding.
Sets whether or not adjacent text nodes should be merged together when
parsing.
Sets whether or not adjacent text nodes should be merged together when
parsing.
Setter for property mode.
Setter for property model.
Sets the name of the mode that the stylesheet uses by default.
Setter for property name.
Setter for property name.
Setter for property name.
Sets the text data of this node or this method will throw an
UnsupportedOperationException if it is read-only.
Sets the Namespace of this element or if this element is
read only then an UnsupportedOperationException is thrown.
Sets the namespace context to be used when evaluating XPath expressions
Sets the current NamespaceContext from a Map where the keys are the
String namespace prefixes and the values are the namespace URIs.
This will set whether a new line is printed after the XML declaration
(assuming it is not supressed.)
Controls output of a line.separator every tagCount tags when isNewlines
is false.
To use the empty set, pass an empty Set, or null:
setOmitElementCloseSet(new HashSet());
or
setOmitElementCloseSet(null);
This will set whether the XML declaration (<?xml version="1.0"
encoding="UTF-8"?>)
includes the encoding of the document.
Ensure that text immediately preceded by or followed by an element will
be "padded" with a single space.
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 sets the parent relationship of this node if the
parent relationship is supported or does nothing if the parent
relationship is not supported.
Setter for property pattern.
Override the default set, which includes PRE, SCRIPT, STYLE, and
TEXTAREA, case insensitively.
Setter for property priority.
Sets all the processing instructions for this branch
Allows a SAX property to be set on the underlying SAX parser.
Sets the given SAX property
Setter for property publicID.
Sets the QName of this element which represents the local
name, the qualified name and the Namespace.
Sets the root element for this document
set a singleton class name that will be used to create the singleton
based on the strategy implementation of this interface.
Sets whether String interning is enabled or disabled for element &
attribute names and namespace URIs
Sets whether whitespace between element start and end tags should be
ignored.
Sets whether whitespace between element start and end tags should be
ignored.
This will set whether the XML declaration (<?xml version="1.0"
encoding="UTF-8"?>)
is included or not.
Setter for property systemID.
This method is the equivalent to the ProcessingInstructionmethod.
Sets the text data of this node or this method will throw an
UnsupportedOperationException if it is read-only.
Sets the text data of this node or this method will throw an
UnsupportedOperationException if it is read-only.
This will set whether the text is output verbatim (false) or with
whitespace stripped as per
Element.getTextTrim().
Setter for property type.
Sets the validation mode.
Sets the value of this attribute or this method will throw an
UnsupportedOperationException if it is read-only.
Setter for property value.
Sets the value of this attribute or this method will throw an
UnsupportedOperationException if it is read-only.
Setter for property value.
Setter for property valueDefault.
Sets the default value-of action which is used in the default rules for
the pattern "text()|@"
Sets the default value-of action which is used in the default rules for
the pattern "text()|@"
Sets the variable context to be used when evaluating XPath expressions
This will set whether or not to use the XHTML standard: like HTML but
passes an XML parser with real, closed tags.
Sets the encoding of this document as it will appear in the XML
declaration part of the document.
Sets the SAX filter to be used when filtering SAX events
Sets the XMLReader used for the JAXP SAXSource.
Sets the XMLReader used to parse SAX events
Sets the XMLReader used to parse SAX events
Sets the XMLReader used to write SAX events to
Sets the class name of the XMLReader to be used to parse
SAX events.
Sets the
XMLWriterused to write the modified document.
Sets the namespace URIs to be used by XPath expressions created by this
factory or by nodes associated with this factory.
Should the given character be escaped.
SimpleSingleton is an implementation of the SingletonStrategy
interface used to provide common factory access for the same object instance.
SingletonStrategy is an interface used to provide common
factory access for the same object based on an implementation strategy for
singleton.
sort sorts the given List of Nodes using this XPath
expression as a java.util.Comparator.
sort sorts the given List of Nodes using this XPath
expression as a java.util.Comparatorand optionally removing
duplicates.
sort sorts the given List of Nodes using an XPath
expression as a java.util.Comparator.
sort sorts the given List of Nodes using an XPath
expression as a java.util.Comparatorand optionally removing
duplicates.
standard value to indent by, if we are indenting
Fires a SAX startPrefixMapping event for all the namespaceStack which
have just come into scope
Reads a DOM4J
Document, as well as other
Nodes, from a StAX
XMLEventReader.
Constructs a default
STAXEventReader instance with a
default
DocumentFactory.
Constructs a
STAXEventReader instance that uses the
specified
DocumentFactoryto construct DOM4J
Nodes.
Writes DOM4J
Nodes to a StAX event stream.
Constructs a STAXEventWriter that writes events to the
provided file.
Constructs a STAXEventWriter that writes events to the
provided stream.
Constructs a STAXEventWriter that writes events to the
provided character stream.
Constructs a STAXEventWriter that writes events to the
provided event stream.
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.
Creates a new empty stylesheet.
supportsParent returns true if this node supports the
parent relationship.
supportsParent returns true if this node supports the
parent relationship.