Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I L M N O P Q R S T U V W X

A

ANY_NODE - Static variable in interface org.dom4j.Node
Matches Element nodes
ATTRIBUTE_NODE - Static variable in interface org.dom4j.Node
Matches elements nodes
ATT_TEXT - Static variable in class org.dom4j.LineFeedTest
 
AbstractTestCase - class org.dom4j.AbstractTestCase.
An abstract base class for some DOM4J test cases
AbstractTestCase() - Constructor for class org.dom4j.AbstractTestCase
 
AbstractTestCase(String) - Constructor for class org.dom4j.AbstractTestCase
 
AddAttributeTest - class org.dom4j.AddAttributeTest.
A test harness to test the addAttribute() methods on attributes
AddAttributeTest() - Constructor for class org.dom4j.AddAttributeTest
 
AddNodeTest - class org.dom4j.AddNodeTest.
A test harness to test the addNode() methods on node
AddNodeTest() - Constructor for class org.dom4j.AddNodeTest
 
Attribute - interface org.dom4j.Attribute.
Attribute defines an XML attribute.
AttributeDetachTest - class org.dom4j.AttributeDetachTest.
A test harness to test the detach() method on attributes
AttributeDetachTest() - Constructor for class org.dom4j.AttributeDetachTest
 
accept(Visitor) - Method in class org.dom4j.Namespace
 
accept(Visitor) - Method in interface org.dom4j.Node
accept is the method used in the Visitor Pattern.
add(Node) - Method in interface org.dom4j.Branch
Adds the given Node or throws IllegalAddException if the given node is not of a valid type.
add(Comment) - Method in interface org.dom4j.Branch
Adds the given Comment to this branch.
add(Element) - Method in interface org.dom4j.Branch
Adds the given Element to this branch.
add(ProcessingInstruction) - Method in interface org.dom4j.Branch
Adds the given ProcessingInstruction to this branch.
add(Attribute) - Method in interface org.dom4j.Element
Adds the given Attribute to this element.
add(CDATA) - Method in interface org.dom4j.Element
Adds the given CDATA to this element.
add(Entity) - Method in interface org.dom4j.Element
Adds the given Entity to this element.
add(Text) - Method in interface org.dom4j.Element
Adds the given Text to this element.
add(Namespace) - Method in interface org.dom4j.Element
Adds the given Namespace to this element.
addAttribute(String, String) - Method in interface org.dom4j.Element
Adds the attribute value of the given local name.
addAttribute(QName, String) - Method in interface org.dom4j.Element
Adds the attribute value of the given fully qualified name.
addCDATA(String) - Method in interface org.dom4j.Element
Adds a new CDATA node with the given text to this element.
addComment(String) - Method in interface org.dom4j.Document
Adds a new Comment node with the given text to this branch.
addComment(String) - Method in interface org.dom4j.Element
Adds a new Comment node with the given text to this element.
addDocType(String, String, String) - Method in interface org.dom4j.Document
Adds a DOCTYPE declaration to this document
addElement(String) - Method in interface org.dom4j.Branch
Adds a new Element node with the given name to this branch and returns a reference to the new node.
addElement(QName) - Method in interface org.dom4j.Branch
Adds a new Element node with the given QNameto this branch and returns a reference to the new node.
addElement(String, String) - Method in interface org.dom4j.Branch
Adds a new Element node with the given qualified name and namespace URI to this branch and returns a reference to the new node.
addEntity(String, String) - Method in interface org.dom4j.Element
Adds a new Entity node with the given name and text to this element and returns a reference to the new node.
addHandler(String, ElementHandler) - Method in interface org.dom4j.ElementPath
Adds the ElementHandler to be called when the specified path is encounted.
addNamespace(String, String) - Method in interface org.dom4j.Element
Adds a namespace to this element for use by its child content
addProcessingInstruction(String, String) - Method in interface org.dom4j.Document
Adds a processing instruction for the given target
addProcessingInstruction(String, Map) - Method in interface org.dom4j.Document
Adds a processing instruction for the given target
addProcessingInstruction(String, String) - Method in interface org.dom4j.Element
Adds a processing instruction for the given target
addProcessingInstruction(String, Map) - Method in interface org.dom4j.Element
Adds a processing instruction for the given target
addText(String) - Method in interface org.dom4j.Element
Adds a new Text node with the given text to this element.
additionalNamespaces() - Method in interface org.dom4j.Element
Returns any additional namespaces declarations for this element other than namespace returned via the Element.getNamespace() 55 method.
appendAttributes(Element) - Method in interface org.dom4j.Element
Appends the attributes of the given element to me.
appendContent(Branch) - Method in interface org.dom4j.Branch
Appends the content of the given branch to this branch instance.
appendText(String) - Method in interface org.dom4j.CharacterData
Appends the given text to this nodes text value.
asXML() - Method in class org.dom4j.Namespace
 
asXML() - Method in interface org.dom4j.Node
asXML returns the textual XML representation of this node.
asXPathResult(Element) - Method in interface org.dom4j.Node
asXPathResult returns a version of this node which is capable of being an XPath result.
assertDocumentsEqual(Document, Document) - Method in class org.dom4j.AbstractTestCase
 
assertNamespace(Namespace, String, String) - Method in class org.dom4j.NamespacesTest
 
assertNamespaces(List, String, String) - Method in class org.dom4j.NamespacesTest
 
assertNodesEqual(Document, Document) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(Element, Element) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(Attribute, Attribute) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(QName, QName) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(CharacterData, CharacterData) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(DocumentType, DocumentType) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(Entity, Entity) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(ProcessingInstruction, ProcessingInstruction) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(Namespace, Namespace) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqual(Node, Node) - Method in class org.dom4j.AbstractTestCase
 
assertNodesEqualContent(Branch, Branch) - Method in class org.dom4j.AbstractTestCase
 
assertUserData(Element, Object) - Method in class org.dom4j.UserDataTest
 
attribute(int) - Method in interface org.dom4j.Element
Returns the attribute at the specified indexGets the
attribute(String) - Method in interface org.dom4j.Element
Returns the attribute with the given name
attribute(QName) - Method in interface org.dom4j.Element
DOCUMENT ME!
attributeCount() - Method in interface org.dom4j.Element
DOCUMENT ME!
attributeIterator() - Method in interface org.dom4j.Element
DOCUMENT ME!
attributeValue(String) - Method in interface org.dom4j.Element
This returns the attribute value for the attribute with the given name and any namespace or null if there is no such attribute or the empty string if the attribute value is empty.
attributeValue(String, String) - Method in interface org.dom4j.Element
This returns the attribute value for the attribute with the given name and any namespace or the default value if there is no such attribute value.
attributeValue(QName) - Method in interface org.dom4j.Element
This returns the attribute value for the attribute with the given fully qualified name or null if there is no such attribute or the empty string if the attribute value is empty.
attributeValue(QName, String) - Method in interface org.dom4j.Element
This returns the attribute value for the attribute with the given fully qualified name or the default value if there is no such attribute value.
attributes() - Method in interface org.dom4j.Element
Returns the Attributeinstances this element contains as a backed java.util.Listso that the attributes may be modified directly using the java.util.Listinterface.

B

BackedListTest - class org.dom4j.BackedListTest.
A test harness to test the backed list feature of DOM4J
BackedListTest() - Constructor for class org.dom4j.BackedListTest
 
Branch - interface org.dom4j.Branch.
Branch interface defines the common behaviour for Nodes which can contain child nodes (content) such as XML elements and documents.
booleanValueOf(Object) - Method in interface org.dom4j.XPath
Retrieve a boolean-value interpretation of this XPath expression when evaluated against a given context.

C

CACHE - Static variable in class org.dom4j.Namespace
Cache of Namespace instances
CDATA - interface org.dom4j.CDATA.
CDATA defines an XML CDATA section.
CDATA_SECTION_NODE - Static variable in interface org.dom4j.Node
Matches elements nodes
COMMENT_NODE - Static variable in interface org.dom4j.Node
Matches Comments nodes
CharacterData - interface org.dom4j.CharacterData.
CharacterData is a marker interface for character based nodes such as the CDATA,Comment and Text nodes.
CloneTest - class org.dom4j.CloneTest.
A test harness to test the clone() methods on Nodes
CloneTest() - Constructor for class org.dom4j.CloneTest
 
Comment - interface org.dom4j.Comment.
Comment defines the behavior of an XML comment.
ContentTest - class org.dom4j.ContentTest.
A test harness to test the content API in DOM4J
ContentTest() - Constructor for class org.dom4j.ContentTest
 
CopyTest - class org.dom4j.CopyTest.
A test harness to test the copy() methods on Element
CopyTest() - Constructor for class org.dom4j.CopyTest
 
cache - Variable in class org.dom4j.DocumentFactory
 
checkNoAdjacent(Element) - Method in class org.dom4j.MergeTextTest
 
clearContent() - Method in interface org.dom4j.Branch
Clears the content for this branch, removing any Node instances this branch may contain.
clone() - Method in class org.dom4j.LElement
 
clone() - Method in interface org.dom4j.Node
clone will return a deep clone or if this node is read-only then clone will return the same instance.
comparator - Variable in class org.dom4j.CloneTest
 
content() - Method in interface org.dom4j.Branch
Returns the content nodes of this branch as a backed java.util.Listso that the content of this branch may be modified directly using the java.util.Listinterface.
createAttribute(Element, QName, String) - Method in class org.dom4j.DocumentFactory
 
createAttribute(Element, String, String) - Method in class org.dom4j.DocumentFactory
 
createAttribute(Element, QName, String) - Static method in class org.dom4j.DocumentHelper
 
createAttribute(Element, String, String) - Static method in class org.dom4j.DocumentHelper
 
createCDATA(String) - Method in class org.dom4j.DocumentFactory
 
createCDATA(String) - Static method in class org.dom4j.DocumentHelper
 
createComment(String) - Method in class org.dom4j.DocumentFactory
 
createComment(String) - Static method in class org.dom4j.DocumentHelper
 
createCopy() - Method in interface org.dom4j.Element
Creates a deep copy of this element The new element is detached from its parent, and getParent() on the clone will return null.
createCopy(String) - Method in interface org.dom4j.Element
Creates a deep copy of this element with the given local name The new element is detached from its parent, and getParent() on the clone will return null.
createCopy(QName) - Method in interface org.dom4j.Element
Creates a deep copy of this element with the given fully qualified name.
createDocType(String, String, String) - Method in class org.dom4j.DocumentFactory
 
createDocument() - Method in class org.dom4j.DocumentFactory
 
createDocument(String) - Method in class org.dom4j.DocumentFactory
DOCUMENT ME!
createDocument(Element) - Method in class org.dom4j.DocumentFactory
 
createDocument() - Static method in class org.dom4j.DocumentHelper
 
createDocument(Element) - Static method in class org.dom4j.DocumentHelper
 
createDocument() - Method in class org.dom4j.IndexedElementTest
 
createElement(QName) - Method in class org.dom4j.DocumentFactory
 
createElement(String) - Method in class org.dom4j.DocumentFactory
 
createElement(String, String) - Method in class org.dom4j.DocumentFactory
 
createElement(QName) - Static method in class org.dom4j.DocumentHelper
 
createElement(String) - Static method in class org.dom4j.DocumentHelper
 
createElement(String) - Method in class org.dom4j.LElement
 
createElement(QName) - Method in class org.dom4j.LElement
 
createEntity(String, String) - Method in class org.dom4j.DocumentFactory
 
createEntity(String, String) - Static method in class org.dom4j.DocumentHelper
 
createHashCode() - Method in class org.dom4j.Namespace
Factory method to create the hashcode allowing derived classes to change the behaviour
createNamespace(String, String) - Method in class org.dom4j.DocumentFactory
 
createNamespace(String, String) - Static method in class org.dom4j.DocumentHelper
 
createPattern(String) - Method in class org.dom4j.DocumentFactory
createPattern parses the given XPath expression to create an XSLT style org.dom4j.rule.Patterninstance which can then be used in an XSLT processing model.
createPattern(String) - Static method in class org.dom4j.DocumentHelper
createPattern parses the given XPath expression to create an XSLT style org.dom4j.rule.Patterninstance which can then be used in an XSLT processing model.
createProcessingInstruction(String, String) - Method in class org.dom4j.DocumentFactory
 
createProcessingInstruction(String, Map) - Method in class org.dom4j.DocumentFactory
 
createProcessingInstruction(String, String) - Static method in class org.dom4j.DocumentHelper
 
createProcessingInstruction(String, Map) - Static method in class org.dom4j.DocumentHelper
 
createQName(String, Namespace) - Method in class org.dom4j.DocumentFactory
 
createQName(String) - Method in class org.dom4j.DocumentFactory
 
createQName(String, String, String) - Method in class org.dom4j.DocumentFactory
 
createQName(String, String) - Method in class org.dom4j.DocumentFactory
 
createQName(String, Namespace) - Static method in class org.dom4j.DocumentHelper
 
createQName(String) - Static method in class org.dom4j.DocumentHelper
 
createQNameCache() - Method in class org.dom4j.DocumentFactory
Factory method to create the QNameCache.
createSingleton() - Static method in class org.dom4j.DocumentFactory
 
createSingleton(String) - Static method in class org.dom4j.DocumentFactory
createSingleton creates the singleton instance from the given class name.
createText(String) - Method in class org.dom4j.DocumentFactory
 
createText(String) - Static method in class org.dom4j.DocumentHelper
 
createXPath(String) - Method in class org.dom4j.DocumentFactory
createXPath parses an XPath expression and creates a new XPath XPath instance.
createXPath(String, VariableContext) - Method in class org.dom4j.DocumentFactory
createXPath parses an XPath expression and creates a new XPath XPath instance.
createXPath(String) - Static method in class org.dom4j.DocumentHelper
createXPath parses an XPath expression and creates a new XPath XPath instance using the singleton DocumentFactory.
createXPath(String, VariableContext) - Static method in class org.dom4j.DocumentHelper
createXPath parses an XPath expression and creates a new XPath XPath instance using the singleton DocumentFactory.
createXPath(String) - Method in interface org.dom4j.Node
createXPath creates an XPath object for the given xpathExpression.
createXPathFilter(String, VariableContext) - Method in class org.dom4j.DocumentFactory
createXPathFilter parses a NodeFilter from the given XPath filter expression.
createXPathFilter(String) - Method in class org.dom4j.DocumentFactory
createXPathFilter parses a NodeFilter from the given XPath filter expression.
createXPathFilter(String) - Static method in class org.dom4j.DocumentHelper
createXPathFilter parses a NodeFilter from the given XPath filter expression using the singleton DocumentFactory.
createXPathResult(Element) - Method in class org.dom4j.Namespace
 

D

DOCUMENT_NODE - Static variable in interface org.dom4j.Node
Matches Document nodes
DOCUMENT_TYPE_NODE - Static variable in interface org.dom4j.Node
Matches DocumentType nodes
DetachTest - class org.dom4j.DetachTest.
A test harness to test the detach() method on root elements
DetachTest() - Constructor for class org.dom4j.DetachTest
 
DocTypeTest - class org.dom4j.DocTypeTest.
Tests the DocType functionality
DocTypeTest() - Constructor for class org.dom4j.DocTypeTest
 
Document - interface org.dom4j.Document.
Document defines an XML Document.
DocumentException - exception org.dom4j.DocumentException.
DocumentException is a nested Exception which may be thrown during the processing of a DOM4J document.
DocumentException() - Constructor for class org.dom4j.DocumentException
 
DocumentException(String) - Constructor for class org.dom4j.DocumentException
 
DocumentException(Throwable) - Constructor for class org.dom4j.DocumentException
 
DocumentException(String, Throwable) - Constructor for class org.dom4j.DocumentException
 
DocumentFactory - class org.dom4j.DocumentFactory.
DocumentFactory is a collection of factory methods to allow easy custom building of DOM4J trees.
DocumentFactory() - Constructor for class org.dom4j.DocumentFactory
 
DocumentHelper - class org.dom4j.DocumentHelper.
DocumentHelper is a collection of helper methods for using DOM4J.
DocumentHelper() - Constructor for class org.dom4j.DocumentHelper
 
DocumentType - interface org.dom4j.DocumentType.
DocumentType defines an XML DOCTYPE declaration.
debugShowNamespaces() - Method in class org.dom4j.NamespaceTest
 
declaredNamespaces() - Method in interface org.dom4j.Element
Returns all the namespaces declared by this element.
detach() - Method in interface org.dom4j.Node
Removes this node from its parent if there is one.
document - Variable in class org.dom4j.AbstractTestCase
 
document - Variable in class org.dom4j.NullAttributesTest
 
documentFactory - Variable in class org.dom4j.QName
The document factory used for this QName if specified or null
domRoundTrip(Document) - Method in class org.dom4j.NamespacesTest
 

E

ELEMENT_NODE - Static variable in interface org.dom4j.Node
Matches Element nodes
ENTITY_REFERENCE_NODE - Static variable in interface org.dom4j.Node
Matches elements nodes
EXPECTED_ATT_TEXT - Static variable in class org.dom4j.LineFeedTest
 
EXPECTED_TEXT - Static variable in class org.dom4j.LineFeedTest
 
Element - interface org.dom4j.Element.
Element interface defines an XML element.
ElementByIDTest - class org.dom4j.ElementByIDTest.
Tests the elementByID() method
ElementByIDTest() - Constructor for class org.dom4j.ElementByIDTest
 
ElementHandler - interface org.dom4j.ElementHandler.
ElementHandler interface defines a handler of Element objects.
ElementPath - interface org.dom4j.ElementPath.
This interface is used by ElementHandlerinstances to retrieve information about the current path hierarchy they are to process.
EmbeddedHandlerTest - class org.dom4j.EmbeddedHandlerTest.
TestEmbeddedHandler
EmbeddedHandlerTest() - Constructor for class org.dom4j.EmbeddedHandlerTest
 
EmbeddedHandlerTest.EmbeddedHandler - class org.dom4j.EmbeddedHandlerTest.EmbeddedHandler.
 
EmbeddedHandlerTest.EmbeddedHandler() - Constructor for class org.dom4j.EmbeddedHandlerTest.EmbeddedHandler
 
EmbeddedHandlerTest.MainHandler - class org.dom4j.EmbeddedHandlerTest.MainHandler.
 
EmbeddedHandlerTest.MainHandler(String) - Constructor for class org.dom4j.EmbeddedHandlerTest.MainHandler
 
Entity - interface org.dom4j.Entity.
Entity defines an XML entity.
element(String) - Method in interface org.dom4j.Element
Returns the first element for the given local name and any namespace.
element(QName) - Method in interface org.dom4j.Element
Returns the first element for the given fully qualified name.
element - Variable in class org.dom4j.NullAttributesTest
 
elementByID(String) - Method in interface org.dom4j.Branch
Returns the element of the given ID attribute value.
elementIterator() - Method in interface org.dom4j.Element
Returns an iterator over all this elements child elements.
elementIterator(String) - Method in interface org.dom4j.Element
Returns an iterator over the elements contained in this element which match the given local name and any namespace.
elementIterator(QName) - Method in interface org.dom4j.Element
Returns an iterator over the elements contained in this element which match the given fully qualified name.
elementText(String) - Method in interface org.dom4j.Element
 
elementText(QName) - Method in interface org.dom4j.Element
 
elementTextTrim(String) - Method in interface org.dom4j.Element
 
elementTextTrim(QName) - Method in interface org.dom4j.Element
 
elements() - Method in interface org.dom4j.Element
Returns the elements contained in this element.
elements(String) - Method in interface org.dom4j.Element
Returns the elements contained in this element with the given local name and any namespace.
elements(QName) - Method in interface org.dom4j.Element
Returns the elements contained in this element with the given fully qualified name.
equals(Object) - Method in class org.dom4j.Namespace
Checks whether this Namespace equals the given Namespace.
equals(Object) - Method in class org.dom4j.QName
 
evaluate(Object) - Method in interface org.dom4j.XPath
evaluate evaluates an XPath expression and returns the result as an java.lang.Object.

F

FIELD_ZERO - Static variable in class org.dom4j.ThreadingTest
 
FORMATTER_CACHE - Static variable in class org.dom4j.ThreadingTest
 
factory - Variable in class org.dom4j.ContentTest
 
factory - Variable in class org.dom4j.NullAttributesTest
 
factory - Variable in class org.dom4j.XPathExamplesTest
factory for XPath, Patterns and nodes
fetchValue(QName) - Method in class org.dom4j.ThreadingTest
This method creates a value that can be expected during a test

G

GetQNamesTest - class org.dom4j.GetQNamesTest.
A test harness to test the DocumentFactory.getQNames() method
GetQNamesTest() - Constructor for class org.dom4j.GetQNamesTest
 
GetXMLEncodingTest - class org.dom4j.GetXMLEncodingTest.
DOCUMENT ME!
GetXMLEncodingTest() - Constructor for class org.dom4j.GetXMLEncodingTest
 
generateXML(ContentHandler) - Method in class org.dom4j.XMLWriterTest
 
get(String, String) - Static method in class org.dom4j.Namespace
A helper method to return the Namespace instance for the given prefix and URI
get(String) - Static method in class org.dom4j.Namespace
A helper method to return the Namespace instance for no prefix and the URI
get(String) - Static method in class org.dom4j.QName
 
get(String, Namespace) - Static method in class org.dom4j.QName
 
get(String, String, String) - Static method in class org.dom4j.QName
 
get(String, String) - Static method in class org.dom4j.QName
 
get(String, Namespace, String) - Static method in class org.dom4j.QName
 
getCache() - Static method in class org.dom4j.QName
 
getCurrent() - Method in interface org.dom4j.ElementPath
DOCUMENT ME!
getData() - Method in interface org.dom4j.Attribute
Accesses the data of this attribute which may implement data typing bindings such as XML Schema or Java Bean bindings or will return the same value as Node.getText() 55 .
getData() - Method in interface org.dom4j.Element
Accesses the data of this element which may implement data typing bindings such as XML Schema or Java Bean bindings or will return the same value as Element.getText() 55
getDocType() - Method in interface org.dom4j.Document
DOCUMENT ME!
getDocument() - Method in class org.dom4j.AbstractTestCase
 
getDocument(String) - Method in class org.dom4j.AbstractTestCase
 
getDocument(String, SAXReader) - Method in class org.dom4j.AbstractTestCase
 
getDocument() - Method in interface org.dom4j.Node
getDocument returns the Document that this Node is part of if this node supports the parent relationship.
getDocumentFactory() - Static method in class org.dom4j.DocumentHelper
 
getDocumentFactory() - Method in class org.dom4j.QName
DOCUMENT ME!
getElement(int) - Method in interface org.dom4j.ElementPath
DOCUMENT ME!
getElementName() - Method in interface org.dom4j.DocumentType
This method is the equivalent to the Node.getName() 55 method.
getEncoding(String) - Static method in class org.dom4j.DocumentHelper
 
getEntityResolver() - Method in interface org.dom4j.Document
DOCUMENT ME!
getExternalDeclarations() - Method in interface org.dom4j.DocumentType
Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
getFile(String) - Method in class org.dom4j.AbstractTestCase
 
getFunctionContext() - Method in interface org.dom4j.XPath
DOCUMENT ME!
getInstance() - Static method in class org.dom4j.DocumentFactory
Access to singleton implementation of DocumentFactory which is used if no DocumentFactory is specified when building using the standard builders.
getInternalDeclarations() - Method in interface org.dom4j.DocumentType
Returns a list of internal DTD declaration objects, defined in the org.dom4j.dtdpackage
getLineNumber() - Method in class org.dom4j.LElement
 
getMessage() - Method in class org.dom4j.DocumentException
 
getName() - Method in interface org.dom4j.Node
getName returns the name of this node.
getName() - Method in class org.dom4j.QName
DOCUMENT ME!
getNamespace() - Method in interface org.dom4j.Attribute
Returns the Namespace of this element if one exists otherwise null is returned returned.
getNamespace() - Method in interface org.dom4j.Element
Returns the Namespace of this element if one exists otherwise Namespace.NO_NAMESPACE is returned.
getNamespace() - Method in class org.dom4j.QName
DOCUMENT ME!
getNamespaceContext() - Method in interface org.dom4j.XPath
DOCUMENT ME!
getNamespaceForPrefix(String) - Method in interface org.dom4j.Element
Returns the Namespace which is mapped to the given prefix or null if it could not be found.
getNamespaceForURI(String) - Method in interface org.dom4j.Element
Returns the Namespace which is mapped to the given URI or null if it could not be found.
getNamespacePrefix() - Method in interface org.dom4j.Attribute
Returns the namespace prefix of this element if one exists otherwise an empty String is returned.
getNamespacePrefix() - Method in interface org.dom4j.Element
Returns the namespace prefix of this element if one exists otherwise an empty String is returned.
getNamespacePrefix() - Method in class org.dom4j.QName
DOCUMENT ME!
getNamespaceURI() - Method in interface org.dom4j.Attribute
Returns the URI mapped to the namespace of this element if one exists otherwise an empty String is returned.
getNamespaceURI() - Method in interface org.dom4j.Element
Returns the URI mapped to the namespace of this element if one exists otherwise an empty String is returned.
getNamespaceURI() - Method in class org.dom4j.QName
DOCUMENT ME!
getNamespacesForURI(String) - Method in interface org.dom4j.Element
Returns the all namespaces which are mapped to the given URI or an empty list if no such namespaces could be found.
getNestedException() - Method in class org.dom4j.DocumentException
 
getNodeType() - Method in class org.dom4j.Namespace
 
getNodeType() - Method in interface org.dom4j.Node
Returns the code according to the type of node.
getNodeTypeName() - Method in interface org.dom4j.Node
DOCUMENT ME!
getParent() - Method in interface org.dom4j.Node
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.
getPath() - Method in interface org.dom4j.ElementPath
DOCUMENT ME!
getPath(Element) - Method in class org.dom4j.Namespace
 
getPath() - Method in interface org.dom4j.Node
Returns the XPath expression which will return a node set containing the given node such as /a/b/@c.
getPath(Element) - Method in interface org.dom4j.Node
Returns the relative XPath expression which will return a node set containing the given node such as a/b/@c.
getPrefix() - Method in class org.dom4j.Namespace
DOCUMENT ME!
getPublicID() - Method in interface org.dom4j.DocumentType
 
getQName() - Method in interface org.dom4j.Attribute
Returns the QName of this attribute which represents the local name, the qualified name and the Namespace.
getQName() - Method in interface org.dom4j.Element
Returns the QName of this element which represents the local name, the qualified name and the Namespace.
getQName(String) - Method in interface org.dom4j.Element
Returns the 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.
getQNames() - Method in class org.dom4j.DocumentFactory
Returns a list of all the QName instances currently used by this document factory
getQualifiedName() - Method in interface org.dom4j.Attribute
Returns the fully qualified name of this element.
getQualifiedName() - Method in interface org.dom4j.Element
Returns the fully qualified name of this element.
getQualifiedName() - Method in class org.dom4j.QName
DOCUMENT ME!
getRootElement() - Method in class org.dom4j.AbstractTestCase
DOCUMENT ME!
getRootElement() - Method in interface org.dom4j.Document
Returns the root Elementfor this document.
getRootElement() - Method in class org.dom4j.NamespaceTest
DOCUMENT ME!
getStringValue() - Method in interface org.dom4j.Element
Returns the XPath string-value of this node.
getStringValue() - Method in class org.dom4j.Namespace
 
getStringValue() - Method in interface org.dom4j.Node
Returns the XPath string-value of this node.
getSystemID() - Method in interface org.dom4j.DocumentType
 
getTarget() - Method in interface org.dom4j.ProcessingInstruction
This method is the equivalent to the Node.getName() 55 method.
getText() - Method in interface org.dom4j.Element
Returns the text value of this element without recursing through child elements.
getText() - Method in class org.dom4j.Namespace
 
getText() - Method in interface org.dom4j.Node
Returns the text of this node.
getText() - Method in interface org.dom4j.ProcessingInstruction
DOCUMENT ME!
getText() - Method in interface org.dom4j.XPath
getText will return the textual version of the XPath expression.
getTextTrim() - Method in interface org.dom4j.Element
DOCUMENT ME!
getThreadId() - Static method in class org.dom4j.ThreadingTest
 
getURI() - Method in class org.dom4j.Namespace
DOCUMENT ME!
getUniquePath(Element) - Method in class org.dom4j.Namespace
 
getUniquePath() - Method in interface org.dom4j.Node
Returns the XPath expression which will return a nodeset of one node which is the current node.
getUniquePath(Element) - Method in interface org.dom4j.Node
Returns the relative unique XPath expression from the given context which will return a nodeset of one node which is the current node.
getValue() - Method in interface org.dom4j.Attribute
Returns the value of the attribute.
getValue(String) - Method in interface org.dom4j.ProcessingInstruction
Returns the value of a specific name in the PI.
getValues() - Method in interface org.dom4j.ProcessingInstruction
DOCUMENT ME!
getVariableContext() - Method in interface org.dom4j.XPath
DOCUMENT ME!
getXMLEncoding() - Method in interface org.dom4j.Document
Return the encoding of this document, as part of the XML declaration This is 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.
getXPath() - Method in class org.dom4j.XPathException
Returns the XPath expression that caused the problem
getXPathNameStep() - Method in class org.dom4j.Namespace
 
getXPathNamespaceURIs() - Method in class org.dom4j.DocumentFactory
DOCUMENT ME!
getXPathResult(int) - Method in interface org.dom4j.Element
Returns a node at the given index suitable for an XPath result set.

H

HTMLWriterTest - class org.dom4j.HTMLWriterTest.
Test harness for the HTMLWriter
HTMLWriterTest() - Constructor for class org.dom4j.HTMLWriterTest
 
hasContent() - Method in interface org.dom4j.Node
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.
hasMixedContent() - Method in interface org.dom4j.Element
Returns true if this Element has mixed content.
hashCode - Variable in class org.dom4j.Namespace
A cached version of the hashcode for efficiency
hashCode() - Method in class org.dom4j.Namespace
DOCUMENT ME!
hashCode - Variable in class org.dom4j.QName
A cached version of the hashcode for efficiency
hashCode() - Method in class org.dom4j.QName
DOCUMENT ME!

I

INPUT_XML_FILE - Static variable in class org.dom4j.DocTypeTest
Input XML file to read
INPUT_XML_FILE - Static variable in class org.dom4j.ElementByIDTest
Input XML file to read
INPUT_XML_FILE - Static variable in class org.dom4j.MergeTextTest
Input XML file to read
INPUT_XML_FILE - Static variable in class org.dom4j.NamespaceTest
Input XML file to read
INPUT_XML_FILE - Static variable in class org.dom4j.UserDataTest
Input XML file to read
IllegalAddException - exception org.dom4j.IllegalAddException.
IllegalAddException is thrown when a node is added incorrectly to an Element
IllegalAddException(String) - Constructor for class org.dom4j.IllegalAddException
 
IllegalAddException(Element, Node, String) - Constructor for class org.dom4j.IllegalAddException
 
IllegalAddException(Branch, Node, String) - Constructor for class org.dom4j.IllegalAddException
 
IndexedElementTest - class org.dom4j.IndexedElementTest.
A test harness for the IndexedElement implementation
IndexedElementTest() - Constructor for class org.dom4j.IndexedElementTest
 
InvalidXPathException - exception org.dom4j.InvalidXPathException.
InvalidXPathException is thrown when an invalid XPath expression is used to traverse an XML document
InvalidXPathException(String) - Constructor for class org.dom4j.InvalidXPathException
 
InvalidXPathException(String, String) - Constructor for class org.dom4j.InvalidXPathException
 
IsTextOnlyTest - class org.dom4j.IsTextOnlyTest.
A test harness to test the parent relationship and use of the Node.asXPathResult(org.dom4j.Element) 55 method.
IsTextOnlyTest() - Constructor for class org.dom4j.IsTextOnlyTest
 
IteratorTest - class org.dom4j.IteratorTest.
A test harness to test the Iterator API in DOM4J
IteratorTest() - Constructor for class org.dom4j.IteratorTest
 
indexOf(Node) - Method in interface org.dom4j.Branch
Returns the index of the given node if it is a child node of this branch or -1 if the given node is not a child node.
init() - Method in class org.dom4j.DocumentFactory
 
intern(QName) - Method in class org.dom4j.DocumentFactory
DOCUMENT ME!
isReadOnly() - Method in interface org.dom4j.Node
isReadOnly returns true if this node is read only and cannot be modified.
isRootElement() - Method in interface org.dom4j.Element
DOCUMENT ME!
isTextOnly() - Method in interface org.dom4j.Element
Returns true if this Element has text only content.
iterDocument - Variable in class org.dom4j.IteratorTest
 

L

LElement - class org.dom4j.LElement.
 
LElement(String) - Constructor for class org.dom4j.LElement
 
LElement(QName) - Constructor for class org.dom4j.LElement
 
LineFeedTest - class org.dom4j.LineFeedTest.
 
LineFeedTest() - Constructor for class org.dom4j.LineFeedTest
 
lineNumber - Variable in class org.dom4j.LElement
 
log(String) - Method in class org.dom4j.AbstractTestCase
 

M

MAIN_READER - Static variable in class org.dom4j.EmbeddedHandlerTest
 
MAX_NODE_TYPE - Static variable in interface org.dom4j.Node
The maximum number of node types for sizing purposes
MakeElementTest - class org.dom4j.MakeElementTest.
A test harness to test the DocumentHelper.makeElement() methodt
MakeElementTest() - Constructor for class org.dom4j.MakeElementTest
 
MergeTextTest - class org.dom4j.MergeTextTest.
A test harness for SAXReader option setMergeAdjacentText(true)
MergeTextTest() - Constructor for class org.dom4j.MergeTextTest
 
main(String[]) - Static method in class org.dom4j.AddAttributeTest
 
main(String[]) - Static method in class org.dom4j.AddNodeTest
 
main(String[]) - Static method in class org.dom4j.AttributeDetachTest
 
main(String[]) - Static method in class org.dom4j.BackedListTest
 
main(String[]) - Static method in class org.dom4j.CloneTest
 
main(String[]) - Static method in class org.dom4j.ContentTest
 
main(String[]) - Static method in class org.dom4j.CopyTest
 
main(String[]) - Static method in class org.dom4j.DetachTest
 
main(String[]) - Static method in class org.dom4j.DocTypeTest
 
main(String[]) - Static method in class org.dom4j.ElementByIDTest
 
main(String[]) - Static method in class org.dom4j.EmbeddedHandlerTest
 
main(String[]) - Static method in class org.dom4j.GetQNamesTest
 
main(String[]) - Static method in class org.dom4j.GetXMLEncodingTest
 
main(String[]) - Static method in class org.dom4j.HTMLWriterTest
 
main(String[]) - Static method in class org.dom4j.IndexedElementTest
 
main(String[]) - Static method in class org.dom4j.IsTextOnlyTest
 
main(String[]) - Static method in class org.dom4j.IteratorTest
 
main(String[]) - Static method in class org.dom4j.LineFeedTest
 
main(String[]) - Static method in class org.dom4j.MakeElementTest
 
main(String[]) - Static method in class org.dom4j.MergeTextTest
 
main(String[]) - Static method in class org.dom4j.NamespaceTest
 
main(String[]) - Static method in class org.dom4j.NamespacesTest
 
main(String[]) - Static method in class org.dom4j.NodeTypeNameTest
 
main(String[]) - Static method in class org.dom4j.NormalizeTest
 
main(String[]) - Static method in class org.dom4j.NullAttributesTest
 
main(String[]) - Static method in class org.dom4j.ParentTest
 
main(String[]) - Static method in class org.dom4j.ParseTextTest
 
main(String[]) - Static method in class org.dom4j.ProcessingInstructionTest
 
main(String[]) - Static method in class org.dom4j.RoundTripTest
 
main(String[]) - Static method in class org.dom4j.SAXContentHandlerTest
 
main(String[]) - Static method in class org.dom4j.SerializeTest
 
main(String[]) - Static method in class org.dom4j.SetContentTest
 
main(String[]) - Static method in class org.dom4j.SetTextTest
 
main(String[]) - Static method in class org.dom4j.ThreadingTest
 
main(String[]) - Static method in class org.dom4j.UserDataTest
 
main(String[]) - Static method in class org.dom4j.ValidationTest
 
main(String[]) - Static method in class org.dom4j.XMLResultTest
 
main(String[]) - Static method in class org.dom4j.XMLSpaceAttributeTest
 
main(String[]) - Static method in class org.dom4j.XMLWriterTest
 
main(String[]) - Static method in class org.dom4j.XPathBugTest
 
main(String[]) - Static method in class org.dom4j.XPathExamplesTest
 
main(String[]) - Static method in class org.dom4j.XPathTest
 
main(String[]) - Static method in class org.dom4j.XSLTTest
 
mainDir - Variable in class org.dom4j.EmbeddedHandlerTest.MainHandler
 
mainReader - Variable in class org.dom4j.EmbeddedHandlerTest.MainHandler
 
makeElement(Branch, String) - Static method in class org.dom4j.DocumentHelper
makeElement
makeRepeatedLoadTest(int, int, String) - Static method in class org.dom4j.ThreadingTest
JUnit method to exercise test via threads and loops
matches(String) - Method in interface org.dom4j.Node
matches returns true if evaluating the given XPath expression on this node returns a non-empty node set containing this node.
matches(Node) - Method in interface org.dom4j.NodeFilter
matches returns true if the given node matches the filter condition.
matches(Node) - Method in interface org.dom4j.XPath
matches returns true if the given node matches the XPath expression.
mutate(Element) - Method in class org.dom4j.BackedListTest
 

N

NAMESPACE_NODE - Static variable in interface org.dom4j.Node
Matchs a Namespace Node - NOTE this differs from DOM
NO_NAMESPACE - Static variable in class org.dom4j.Namespace
No Namespace present
NUMELE - Static variable in class org.dom4j.IteratorTest
 
Namespace - class org.dom4j.Namespace.
Namespace is a Flyweight Namespace that can be shared amongst nodes.
Namespace(String, String) - Constructor for class org.dom4j.Namespace
DOCUMENT ME!
NamespaceTest - class org.dom4j.NamespaceTest.
A test harness to test the use of Namespaces.
NamespaceTest() - Constructor for class org.dom4j.NamespaceTest
 
NamespacesTest - class org.dom4j.NamespacesTest.
Test the use of namespaces
NamespacesTest() - Constructor for class org.dom4j.NamespacesTest
 
Node - interface org.dom4j.Node.
Node defines the polymorphic behavior for all XML nodes in a dom4j tree.
NodeFilter - interface org.dom4j.NodeFilter.
NodeFilter defines the behavior for a filter or predicate which acts on a DOM4J Node.
NodeTypeNameTest - class org.dom4j.NodeTypeNameTest.
Tests the getNodeNameType() method
NodeTypeNameTest() - Constructor for class org.dom4j.NodeTypeNameTest
 
NormalizeTest - class org.dom4j.NormalizeTest.
A test harness for the normalize() method
NormalizeTest() - Constructor for class org.dom4j.NormalizeTest
 
NullAttributesTest - class org.dom4j.NullAttributesTest.
Tests the use of null attribute values
NullAttributesTest() - Constructor for class org.dom4j.NullAttributesTest
 
name - Variable in class org.dom4j.QName
The local name of the element or attribute
namespace - Variable in class org.dom4j.QName
The Namespace of this element or attribute
nestedException - Variable in class org.dom4j.DocumentException
A wrapped Throwable
node(int) - Method in interface org.dom4j.Branch
Returns the Node at the specified index position.
nodeCount() - Method in interface org.dom4j.Branch
Returns the number of Node instances that this branch contains.
nodeIterator() - Method in interface org.dom4j.Branch
Returns an iterator through the content nodes of this branch
normalize() - Method in interface org.dom4j.Branch
Puts all 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(String) - Method in interface org.dom4j.Node
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(Object) - Method in interface org.dom4j.XPath
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.

O

ON_END_READER - Static variable in class org.dom4j.EmbeddedHandlerTest
 
onEnd(ElementPath) - Method in interface org.dom4j.ElementHandler
Called by an event based processor when an elements closing tag is encountered.
onEnd(ElementPath) - Method in class org.dom4j.EmbeddedHandlerTest.EmbeddedHandler
 
onEnd(ElementPath) - Method in class org.dom4j.EmbeddedHandlerTest.MainHandler
 
onStart(ElementPath) - Method in interface org.dom4j.ElementHandler
Called by an event based processor when an elements openning tag is encountered.
onStart(ElementPath) - Method in class org.dom4j.EmbeddedHandlerTest.EmbeddedHandler
 
onStart(ElementPath) - Method in class org.dom4j.EmbeddedHandlerTest.MainHandler
 
org.dom4j - package org.dom4j
 

P

PROCESSING_INSTRUCTION_NODE - Static variable in interface org.dom4j.Node
Matches ProcessingInstruction
ParentTest - class org.dom4j.ParentTest.
A test harness to test the parent relationship and use of the Node.asXPathResult(org.dom4j.Element) 55 method.
ParentTest() - Constructor for class org.dom4j.ParentTest
 
ParseTextTest - class org.dom4j.ParseTextTest.
Tests the DocumentHelper.parseText(String) 55 method.
ParseTextTest() - Constructor for class org.dom4j.ParseTextTest
 
ProcessingInstruction - interface org.dom4j.ProcessingInstruction.
ProcessingInstruction defines an XML processing instruction.
ProcessingInstructionTest - class org.dom4j.ProcessingInstructionTest.
DOCUMENT ME!
ProcessingInstructionTest() - Constructor for class org.dom4j.ProcessingInstructionTest