|
||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
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.SchemaParser
reads an XML Schema Document.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 !!
XSDatatype
for the given
<attribute> QNames
List
of
Node
instances.
ContentHandler
called when SAX events are raised
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.
SAXSource
setDocument
sets the document of this node if the parent
relationship is supported or does nothing if the parent relationship is
not supported.
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.
DTDHandler
.
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.
<?
- 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 class org.dom4j.datatype.DatatypeAttribute
-
- 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.
- setPattern(Pattern) -
Method in class org.dom4j.rule.Rule
- Setter for property pattern.
- 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
- 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
-
- setPublicID(String) -
Method in interface org.dom4j.DocumentType
-
- setPublicID(String) -
Method in class org.dom4j.dtd.ExternalEntityDecl
- Setter for property publicID.
- 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
.
- setResolveEntityRefs(boolean) -
Method in class org.dom4j.io.XMLWriter
-
- setRootElement(Element) -
Method in interface org.dom4j.Document
- Sets the root element for this document
- 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.
- 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.
- setTarget(String) -
Method in interface org.dom4j.ProcessingInstruction
- This method is the equivalent to the
Node.setName(java.lang.String)
method.
- setText(String) -
Method in class org.dom4j.datatype.DatatypeElement
-
- 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.
- 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.
- 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) -
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, String) -
Method in interface org.dom4j.ProcessingInstruction
-
- 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
-
- setVariableContext(VariableContext) -
Method in interface org.dom4j.XPath
- Sets the variable context to be used when evaluating XPath expressions
- 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.
- 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
-
- 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.
- setXPPFactory(XmlPullParserFactory) -
Method in class org.dom4j.io.XPP3Reader
-
- setXPPFactory(XmlPullParserFactory) -
Method in class org.dom4j.io.XPPReader
-
- shouldEncodeChar(char) -
Method in class org.dom4j.io.XMLWriter
- Should the given character be escaped.
- SimpleSingleton - Class in org.dom4j.util
-
SimpleSingleton
is an implementation of the SingletonStrategy
interface used to provide common factory access for the same object instance. - SimpleSingleton() -
Constructor for class org.dom4j.util.SimpleSingleton
-
- singleton -
Static variable in class org.dom4j.datatype.DatatypeDocumentFactory
- The Singleton instance
- SINGLETON -
Static variable in class org.dom4j.rule.NullAction
- 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
- SingletonStrategy - Interface in org.dom4j.util
-
SingletonStrategy
is an interface used to provide common
factory access for the same object based on an implementation strategy for
singleton. - size() -
Method in interface org.dom4j.ElementPath
- 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.
- STANDARD_INDENT -
Static variable in class org.dom4j.io.OutputFormat
- standard value to indent by, if we are indenting
- 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
-
- 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
-
- 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
-
- 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
-
- STAXEventReader - Class in org.dom4j.io
- Reads a DOM4J
Document
, as well as other Node
s, from a StAX
XMLEventReader
. - STAXEventReader() -
Constructor for class org.dom4j.io.STAXEventReader
- Constructs a default
STAXEventReader
instance with a
default DocumentFactory
.
- STAXEventReader(DocumentFactory) -
Constructor for class org.dom4j.io.STAXEventReader
- Constructs a
STAXEventReader
instance that uses the
specified DocumentFactory
to construct DOM4J Node
s.
- STAXEventWriter - Class in org.dom4j.io
- Writes DOM4J
Node
s to a StAX event stream. - STAXEventWriter() -
Constructor for class org.dom4j.io.STAXEventWriter
-
- STAXEventWriter(File) -
Constructor for class org.dom4j.io.STAXEventWriter
- Constructs a
STAXEventWriter
that writes events to the
provided file.
- STAXEventWriter(Writer) -
Constructor for class org.dom4j.io.STAXEventWriter
- Constructs a
STAXEventWriter
that writes events to the
provided character stream.
- STAXEventWriter(OutputStream) -
Constructor for class org.dom4j.io.STAXEventWriter
- Constructs a
STAXEventWriter
that writes events to the
provided stream.
- STAXEventWriter(XMLEventConsumer) -
Constructor for class org.dom4j.io.STAXEventWriter
- Constructs a
STAXEventWriter
that writes events to the
provided event stream.
- Stylesheet - Class in org.dom4j.rule
-
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. - Stylesheet() -
Constructor for class org.dom4j.rule.Stylesheet
- Creates a new empty stylesheet.
- supportsParent() -
Method in class org.dom4j.datatype.DatatypeAttribute
-
- supportsParent() -
Method in interface org.dom4j.Node
-
supportsParent
returns true if this node supports the
parent relationship.
|
||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |