Uses of Interface
org.dom4j.Node
Packages that use Node
Package
Description
Defines the XML Document Object Model in Java interfaces together with some helper classes.
An implementation of the dom4j API which allows JavaBeans to be used to store and retrieve attribute values from Element.
An implementation of the dom4j API which also supports the W3C object model.
Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.
A collection of adapters to allow easy integration with dom4j XML documents and Swing such as TreeModels and TableModels.
Contains the default implementations of the dom4j Document Object Model together with some helpful base classes for those wishing to implement their own document object model.
A collection of utility classes for the dom4j API.
Provides the core tools needed to use the XPath library
-
Uses of Node in org.dom4j
Modifier and TypeInterfaceDescriptioninterfaceAttributedefines an XML attribute.interfaceBranchinterface defines the common behaviour for Nodes which can contain child nodes (content) such as XML elements and documents.interfaceCDATAdefines an XML CDATA section.interfaceCharacterDatais a marker interface for character based nodes such as theCDATA,CommentandTextnodes.interfaceCommentdefines the behavior of an XML comment.interfaceDocumentdefines an XML Document.interfaceDocumentTypedefines an XML DOCTYPE declaration.interfaceElementinterface defines an XML element.interfaceEntitydefines an XML entity.interfaceProcessingInstructiondefines an XML processing instruction.interfaceTextdefines an XML Text node.Modifier and TypeClassDescriptionclassNamespaceis a Flyweight Namespace that can be shared amongst nodes.Modifier and TypeMethodDescriptionNode.asXPathResult(Element parent) asXPathResultreturns a version of this node which is capable of being an XPath result.protected NodeNamespace.createXPathResult(Element parent) Node.detach()Removes this node from its parent if there is one.Element.getXPathResult(int index) Returns a node at the given index suitable for an XPath result set.Branch.node(int index) Returns theNodeat the specified index position.Node.selectSingleNode(String xpathExpression) selectSingleNodeevaluates an XPath expression and returns the result as a singleNodeinstance.XPath.selectSingleNode(Object context) Modifier and TypeMethodDescriptionBranch.content()Branch.nodeIterator()Returns an iterator through the content nodes of this branchDocumentHelper.selectNodes(String xpathFilterExpression, List<Node> nodes) DocumentHelper.selectNodes(String xpathFilterExpression, Node node) Node.selectNodes(String xpathExpression) selectNodesevaluates an XPath expression and returns the result as aListofNodeinstances orStringinstances depending on the XPath expression.Node.selectNodes(String xpathExpression, String comparisonXPathExpression) selectNodesevaluates an XPath expression then sorts the results using a secondary XPath expression Returns a sortedListofNodeinstances.Node.selectNodes(String xpathExpression, String comparisonXPathExpression, boolean removeDuplicates) selectNodesevaluates an XPath expression then sorts the results using a secondary XPath expression Returns a sortedListofNodeinstances.XPath.selectNodes(Object context) XPath.selectNodes(Object context, XPath sortXPath) XPath.selectNodes(Object context, XPath sortXPath, boolean distinct) Modifier and TypeMethodDescriptionvoidAdds the givenNodeor throwsIllegalAddExceptionif the given node is not of a valid type.intReturns 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.booleanmatchesreturns true if the given node matches the filter condition.booleanmatchesreturns true if the given node matches the XPath expression.booleanRemoves the givenNodeif the node is an immediate child of this branch.DocumentHelper.selectNodes(String xpathFilterExpression, Node node) Modifier and TypeMethodDescriptionDocumentHelper.selectNodes(String xpathFilterExpression, List<Node> nodes) voidBranch.setContent(List<Node> content) Sets the contents of this branch as aListofNodeinstances.static voidsortsorts the given List of Nodes using an XPath expression as aComparator.static voidsortsorts the given List of Nodes using an XPath expression as aComparatorand optionally removing duplicates.voidsortsorts the given List of Nodes using this XPath expression as aComparator.voidsortsorts the given List of Nodes using this XPath expression as aComparatorand optionally removing duplicates.ModifierConstructorDescriptionIllegalAddException(Branch parent, Node node, String reason) IllegalAddException(Element parent, Node node, String reason) -
Uses of Node in org.dom4j.bean
Classes in org.dom4j.bean that implement NodeModifier and TypeClassDescriptionclassBeanAttributerepresents a mutable XML attribute which is backed by a property of the JavaBean of its parent element.classBeanElementuses a Java Bean to store its attributes. -
Uses of Node in org.dom4j.dom
Classes in org.dom4j.dom that implement NodeModifier and TypeClassDescriptionclassDOMAttributeimplements a doubly linked attribute which supports the W3C DOM API.classDOMCDATAimplements a CDATA Section which supports the W3C DOM API.classDOMTextimplements a Text node which supports the W3C DOM API.classDOMDocumentimplements an XML document which supports the W3C DOM API.classDOMDocumentTypeimplements a DocumentType node which supports the W3C DOM API.classDOMElementimplements an XML element which supports the W3C DOM API.classDOMEntityimplements a Entity node which supports the W3C DOM API.classDOMNamespaceimplements a Namespace that is compatable with the DOM API.classDOMProcessingInstructionimplements a ProcessingInstruction node which supports the W3C DOM API.classDOMTextimplements a Text node which supports the W3C DOM API.Methods in org.dom4j.dom with parameters of type NodeModifier and TypeMethodDescriptionstatic NodeDOMNodeHelper.appendChild(Node node, Node newChild) static Attrstatic ElementDOMNodeHelper.asDOMElement(Node element) static Nodestatic Nodestatic NamedNodeMapDOMNodeHelper.getAttributes(Node node) static NodeListDOMNodeHelper.getChildNodes(Node node) static NodeDOMNodeHelper.getFirstChild(Node node) static NodeDOMNodeHelper.getLastChild(Node node) static StringDOMNodeHelper.getLocalName(Node node) static StringDOMNodeHelper.getNamespaceURI(Node node) static NodeDOMNodeHelper.getNextSibling(Node node) static StringDOMNodeHelper.getNodeValue(Node node) static DocumentDOMNodeHelper.getOwnerDocument(Node node) static NodeDOMNodeHelper.getParentNode(Node node) static Stringstatic NodeDOMNodeHelper.getPreviousSibling(Node node) static booleanDOMNodeHelper.hasAttributes(Node node) static booleanDOMNodeHelper.hasChildNodes(Node node) static NodeDOMNodeHelper.insertBefore(Node node, Node newChild, Node refChild) static booleanDOMNodeHelper.isSupported(Node n, String feature, String version) static voidstatic NodeDOMNodeHelper.removeChild(Node node, Node oldChild) static NodeDOMNodeHelper.replaceChild(Node node, Node newChild, Node oldChild) static voidDOMNodeHelper.setNodeValue(Node node, String nodeValue) static voidstatic booleanMethod parameters in org.dom4j.dom with type arguments of type Node -
Uses of Node in org.dom4j.io
Methods in org.dom4j.io that return NodeModifier and TypeMethodDescriptionSTAXEventReader.readNode(XMLEventReader reader) Reads aNodefrom the event stream.Methods in org.dom4j.io with parameters of type NodeModifier and TypeMethodDescriptionvoidA polymorphic method to write any Node to this SAX streamvoidWrites the givenNode.voidWrites a DOM4JNodeto the stream.protected voidprotected voidXMLWriter.writeNodeText(Node node) This method is used to write out Nodes that contain text and still allow for xml:space to be handled properly.Method parameters in org.dom4j.io with type arguments of type NodeModifier and TypeMethodDescriptionprotected voidDOMWriter.appendDOMTree(Document domDocument, Node domCurrent, List<Node> content) Constructors in org.dom4j.io with parameters of type Node -
Uses of Node in org.dom4j.rule
Methods in org.dom4j.rule with parameters of type NodeModifier and TypeMethodDescriptionvoidStylesheet.applyTemplates(Node node) If input is aNode, this will processes all of the children of that node.voidStylesheet.applyTemplates(Node node, String mode) Processes the input object in the given mode.voidRuns the actions associated with the given nodeMode.getMatchingRule(Node node) Performs an XSLT processing model match for the rule which matches the given Node the best.RuleManager.getMatchingRule(String modeName, Node node) Performs an XSLT processing model match for the rule which matches the given Node the best.RuleSet.getMatchingRule(Node node) Performs an XSLT processing model match for the rule which matches the given Node the best.booleanDOCUMENT ME!final booleanDOCUMENT ME!voidvoidvoidvoidMethod parameters in org.dom4j.rule with type arguments of type NodeModifier and TypeMethodDescriptionvoidStylesheet.applyTemplates(List<? extends Node> list, String mode) Processes the input object in the given mode.voidStylesheet.applyTemplates(List<Node> list) If input is aNode, this will processes all of the children of that node.voidvoid -
Uses of Node in org.dom4j.rule.pattern
Methods in org.dom4j.rule.pattern with parameters of type Node -
Uses of Node in org.dom4j.swing
Fields in org.dom4j.swing declared as NodeModifier and TypeFieldDescriptionprotected NodeLeafTreeNode.xmlNodeThe dom4j Node which contains theFields in org.dom4j.swing with type parameters of type NodeModifier and TypeFieldDescriptionXMLTableModel.rowsThe rows evaluated from the row XPath expressionMethods in org.dom4j.swing that return NodeMethods in org.dom4j.swing that return types with arguments of type NodeMethods in org.dom4j.swing with parameters of type NodeModifier and TypeMethodDescriptionprotected TreeNodeBranchTreeNode.createChildTreeNode(Node xmlNode) Factory method to create child tree nodes for a given XML node typeConstructors in org.dom4j.swing with parameters of type NodeModifierConstructorDescriptionLeafTreeNode(TreeNode parent, Node xmlNode) LeafTreeNode(Node xmlNode) -
Uses of Node in org.dom4j.tree
Classes in org.dom4j.tree with type parameters of type NodeModifier and TypeClassDescriptionclassBackedList<T extends Node>BackedListrepresents a list of content of aBranch.classContentListFacade<T extends Node>ContentListFacaderepresents a facade of the content of aBranchwhich is returned via calls to theBranch.content()method to allow users to modify the content of aBranchdirectly using theListinterface.Classes in org.dom4j.tree that implement NodeModifier and TypeClassDescriptionclassAbstractNamespaceis an abstract base class for tree implementors to use for implementation inheritence.classAbstractBranchis an abstract base class for tree implementors to use for implementation inheritence.classAbstractCDATAis an abstract base class for tree implementors to use for implementation inheritence.classAbstractCharacterDatais an abstract base class for tree implementors to use for implementation inheritence.classAbstractCommentis an abstract base class for tree implementors to use for implementation inheritence.classAbstractDocumentis an abstract base class for tree implementors to use for implementation inheritence.classAbstractDocumentTypeis an abstract base class for tree implementors to use for implementation inheritence.classAbstractElementis an abstract base class for tree implementors to use for implementation inheritence.classAbstractEntityis an abstract base class for tree implementors to use for implementation inheritence.classAbstractNodeis an abstract base class for tree implementors to use for implementation inheritence.classAbstractProcessingInstructionis an abstract base class for tree implementors to use for implementation inheritence.classAbstractTextis an abstract base class for tree implementors to use for implementation inheritence.classBaseElementis a useful base class for implemementation inheritence of an XML element.classDefaultAttributeimplements a doubly linked node which supports the parent relationship and is mutable.classDefaultCDATAis the default CDATA implementation.classDefaultCommentis the default Comment implementation.classDefaultDocumentis the default DOM4J default implementation of an XML document.classDefaultDocumentTypeis the DOM4J default implementation of an XML document type.classDefaultElementis the default DOM4J default implementation of an XML element.classDefaultEntityis the default Entity implementation.classDefaultNamespaceimplements a doubly linked node which supports the parent relationship and is mutable.classDefaultProcessingInstructionis the default Processing Instruction implementation.classDefaultTextis the default Text implementation.classFlyweightAttributeis a Flyweight pattern implementation of a singly linked, read-only XML Attribute.classFlyweightCDATAis a Flyweight pattern implementation of a singly linked, read-only XML CDATA.classFlyweightCommentis a Flyweight pattern implementation of a singly linked, read-only XML Comment.classFlyweightEntityis a Flyweight pattern implementation of a singly linked, read-only XML entity.classFlyweightProcessingInstructionis a Flyweight pattern implementation of a singly linked, read-only XML Processing Instruction.classFlyweightTextis a Flyweight pattern implementation of a singly linked, read-only XML Text.Subclasses with type arguments of type Node in org.dom4j.treeModifier and TypeClassDescriptionclassDeprecated.THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!classDeprecated.THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!classDeprecated.THIS CLASS WILL BE REMOVED IN dom4j-1.6 !!Fields in org.dom4j.tree with type parameters of type NodeModifier and TypeFieldDescriptionBackedList.branchContentThe content of the Branch which is modified if I am modifiedBaseElement.contentList of content nodes.DefaultDocument.contentStore the contents of the document as a lazily createdListMethods in org.dom4j.tree with type parameters of type NodeModifier and TypeMethodDescriptionAbstractBranch.createEmptyList()A Factory Method pattern which creates an empty a BackedList implementationprotected <T extends Node>
BackedList<T> AbstractBranch.createResultList()A Factory Method pattern which creates a BackedList implementation used to store results of a filtered content query.AbstractBranch.createSingleResultList(T result) A Factory Method pattern which creates a BackedList implementation which contains a single resultMethods in org.dom4j.tree that return NodeModifier and TypeMethodDescriptionprotected NodeAbstractDocument.asXPathResult(Element parent) AbstractNode.asXPathResult(Element parent) protected NodeAbstractAttribute.createXPathResult(Element parent) protected NodeAbstractNode.createXPathResult(Element parent) protected NodeFlyweightCDATA.createXPathResult(Element parent) protected NodeFlyweightComment.createXPathResult(Element parent) protected NodeFlyweightEntity.createXPathResult(Element parent) protected NodeFlyweightProcessingInstruction.createXPathResult(Element parent) protected NodeFlyweightText.createXPathResult(Element parent) AbstractNode.detach()AbstractElement.getXPathResult(int index) AbstractBranch.node(int index) AbstractElement.node(int index) DefaultElement.node(int index) AbstractNode.selectSingleNode(String xpathExpression) Methods in org.dom4j.tree that return types with arguments of type NodeModifier and TypeMethodDescriptionAbstractBranch.content()AbstractBranch.contentList()DOCUMENT ME!BaseElement.contentList()DefaultDocument.contentList()DefaultElement.contentList()AbstractBranch.createContentList()A Factory Method pattern which creates a List implementation used to store contentAbstractBranch.createContentList(int size) A Factory Method pattern which creates a List implementation used to store contentAbstractBranch.nodeIterator()AbstractElement.nodeIterator()DefaultElement.nodeIterator()AbstractNode.selectNodes(String xpathExpression) AbstractNode.selectNodes(String xpathExpression, String comparisonXPathExpression) AbstractNode.selectNodes(String xpathExpression, String comparisonXPathExpression, boolean removeDuplicates) Methods in org.dom4j.tree with parameters of type NodeModifier and TypeMethodDescriptionvoidvoidprotected voidAbstractElement.addNewNode(int index, Node node) protected voidAbstractElement.addNewNode(Node node) Like addNode() but does not require a parent checkprotected voidDefaultElement.addNewNode(Node node) protected abstract voidprotected abstract voidprotected voidprotected voidprotected voidprotected voidprotected abstract voidAbstractBranch.childAdded(Node node) Called when a new child node has been added to me to allow any parent relationships to be created or events to be fired.protected voidAbstractDocument.childAdded(Node node) protected voidAbstractElement.childAdded(Node node) Called when a new child node is added to create any parent relationshipsprotected abstract voidAbstractBranch.childRemoved(Node node) Called when a child node has been removed to allow any parent relationships to be deleted or events to be fired.protected voidAbstractDocument.childRemoved(Node node) protected voidAbstractElement.childRemoved(Node node) intintintprotected voidAbstractBranch.invalidNodeTypeAddException(Node node) Called when an invalid node has been added.protected booleanDeprecated.DOCUMENT ME!protected booleanDeprecated.DOCUMENT ME!protected booleanDeprecated.DOCUMENT ME!booleanbooleanprotected abstract booleanAbstractBranch.removeNode(Node node) protected booleanAbstractElement.removeNode(Node node) protected booleanDefaultDocument.removeNode(Node node) protected booleanDefaultElement.removeNode(Node node) Method parameters in org.dom4j.tree with type arguments of type NodeModifier and TypeMethodDescriptionvoidBaseElement.setContent(List<Node> content) voidDefaultDocument.setContent(List<Node> content) voidDefaultElement.setContent(List<Node> content) Constructor parameters in org.dom4j.tree with type arguments of type NodeModifierConstructorDescriptionBackedList(AbstractBranch branch, List<Node> branchContent) BackedList(AbstractBranch branch, List<Node> branchContent, int capacity) BackedList(AbstractBranch branch, List<Node> branchContent, List<T> initialContent) ElementIterator(Iterator<Node> proxy) Deprecated.ElementNameIterator(Iterator<Node> proxy, String name) Deprecated.ElementQNameIterator(Iterator<Node> proxy, QName qName) Deprecated. -
Uses of Node in org.dom4j.util
Classes in org.dom4j.util that implement NodeModifier and TypeClassDescriptionclassIndexedElementis an implementation ofElementwhich maintains an index of the attributes and elements it contains to optimise lookups via name.classNonLazyElementis the default DOM4J default implementation of an XML element.classUserDataAttributesupport the adornment of a user data object on an Element or Attribute instance such that the methodsUserDataAttribute.getData()UserDataAttribute.setData(Object)will get and set the values of a user data object.classUserDataElementsupport the adornment of a user data object on an Element or Attribute instance such that the methodsUserDataElement.getData()UserDataElement.setData(Object)will get and set the values of a user data object.Classes in org.dom4j.util that implement interfaces with type arguments of type NodeModifier and TypeClassDescriptionclassNodeComparatoris aComparatorof Node instances which is capable of comparing Nodes for equality based on their values.Methods in org.dom4j.util with type parameters of type NodeModifier and TypeMethodDescriptionIndexedElement.createList()Factory method to return a list implementation for indicesMethods in org.dom4j.util with parameters of type Node -
Uses of Node in org.dom4j.xpath
Methods in org.dom4j.xpath that return NodeMethods in org.dom4j.xpath that return types with arguments of type NodeModifier and TypeMethodDescriptionDefaultXPath.selectNodes(Object context) DefaultXPath.selectNodes(Object context, XPath sortXPath) DefaultXPath.selectNodes(Object context, XPath sortXPath, boolean distinct) Methods in org.dom4j.xpath with parameters of type NodeModifier and TypeMethodDescriptionprotected ObjectDefaultXPath.getCompareValue(Node node) DOCUMENT ME!booleanbooleanMethod parameters in org.dom4j.xpath with type arguments of type NodeModifier and TypeMethodDescriptionprotected voidRemoves items from the list which have duplicate valuesprotected voidRemoves items from the list which have duplicate valuesvoidsortsorts the given List of Nodes using this XPath expression as aComparator.voidsortsorts the given List of Nodes using this XPath expression as aComparatorand optionally removing duplicates.protected voidSorts the list based on the sortValues for each nodeprotected voidSorts the list based on the sortValues for each node