Uses of Interface
org.apache.commons.configuration2.tree.NodeHandler
Packages that use NodeHandler
Package
Description
The Configuration main package.
In this package a
Configuration implementation can be found that implements the DynaBean interface.
Configuration classes supporting NeXT / OpenStep /GNUStep style configuration.
A package with helper and utility classes used by hierarchical configurations.
This package contains the
XPathExpressionEngine class which enables XPATH support for querying configuration
properties.-
Uses of NodeHandler in org.apache.commons.configuration2
Methods in org.apache.commons.configuration2 that return NodeHandlerMethods in org.apache.commons.configuration2 with parameters of type NodeHandlerModifier and TypeMethodDescriptionprotected AttributesHierarchicalConfigurationXMLReader.SAXVisitor.fetchAttributes(T node, NodeHandler<T> handler) Returns an object with all attributes for the specified node.voidAbstractHierarchicalConfiguration.DefinedKeysVisitor.handleAttributeKeys(String parentKey, T node, NodeHandler<T> handler) Appends all attribute keys of the current node.private voidBaseHierarchicalConfiguration.InterpolatedVisitor.handleLeafNode(ImmutableNode node, NodeHandler<ImmutableNode> handler) Handles interpolation for a node with no children.BaseHierarchicalConfiguration.InterpolatedVisitor.interpolateAttributes(ImmutableNode node, NodeHandler<ImmutableNode> handler) Returns a map with interpolated attributes of the passed in node.private booleanBaseHierarchicalConfiguration.InterpolatedVisitor.interpolateAttributes(ImmutableNode node, NodeHandler<ImmutableNode> handler, Map<String, Object> interpolatedAttributes) Populates a map with interpolated attributes of the passed in node.private booleanBaseHierarchicalConfiguration.InterpolatedVisitor.isLeafNode(ImmutableNode node, NodeHandler<ImmutableNode> handler) Returns a flag whether the given node is a leaf.Generates a unique key for the specified node.private StringHierarchicalConfigurationXMLReader.SAXVisitor.nodeName(T node, NodeHandler<T> handler) Helper method for determining the name of a node.AbstractHierarchicalConfiguration.resolveAddKey(T root, String key, NodeHandler<T> handler) Resolves a key of an add operation.List<QueryResult<T>> AbstractHierarchicalConfiguration.resolveKey(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node.AbstractHierarchicalConfiguration.resolveNodeKey(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node returning only node results.AbstractHierarchicalConfiguration.resolveUpdateKey(T root, String key, Object newValue, NodeHandler<T> handler) Resolves a key for an update operation.private ObjectAbstractHierarchicalConfiguration.valueFromResult(QueryResult<T> result, NodeHandler<T> handler) Extracts the value from a query result.voidAbstractHierarchicalConfiguration.DefinedKeysVisitor.visitAfterChildren(T node, NodeHandler<T> handler) Visits the specified node after after its children - if existing - have been processed.voidBaseHierarchicalConfiguration.InterpolatedVisitor.visitAfterChildren(ImmutableNode node, NodeHandler<ImmutableNode> handler) voidHierarchicalConfigurationXMLReader.SAXVisitor.visitAfterChildren(T node, NodeHandler<T> handler) Visits the specified node after its children have been processed.voidAbstractHierarchicalConfiguration.DefinedKeysVisitor.visitBeforeChildren(T node, NodeHandler<T> handler) Visits the specified node before the children of this node - if existing - are processed.voidAbstractHierarchicalConfiguration.DefinedVisitor.visitBeforeChildren(T node, NodeHandler<T> handler) Visits the node.voidBaseHierarchicalConfiguration.BuilderVisitor.visitBeforeChildren(ImmutableNode node, NodeHandler<ImmutableNode> handler) voidBaseHierarchicalConfiguration.InterpolatedVisitor.visitBeforeChildren(ImmutableNode node, NodeHandler<ImmutableNode> handler) voidFindNodeVisitor.visitBeforeChildren(T node, NodeHandler<T> handler) voidHierarchicalConfigurationXMLReader.SAXVisitor.visitBeforeChildren(T node, NodeHandler<T> handler) Visits the specified node. -
Uses of NodeHandler in org.apache.commons.configuration2.beanutils
Fields in org.apache.commons.configuration2.beanutils declared as NodeHandlerModifier and TypeFieldDescriptionprivate final NodeHandler<T> XMLBeanDeclaration.NodeData.nodeHandlerThe node handler for interacting with this node.Constructors in org.apache.commons.configuration2.beanutils with parameters of type NodeHandlerModifierConstructorDescription(package private)NodeData(T node, NodeHandler<T> nodeHandler) Constructs a new instance ofNodeData. -
Uses of NodeHandler in org.apache.commons.configuration2.plist
Methods in org.apache.commons.configuration2.plist with parameters of type NodeHandlerModifier and TypeMethodDescriptionprivate voidPropertyListConfiguration.printNode(PrintWriter out, int indentLevel, ImmutableNode node, NodeHandler<ImmutableNode> handler) Append a node to the writer, indented according to a specific level. -
Uses of NodeHandler in org.apache.commons.configuration2.tree
Subinterfaces of NodeHandler in org.apache.commons.configuration2.treeModifier and TypeInterfaceDescriptioninterfaceAn extension of theNodeHandlerinterface which allows access to so-called references stored for a node.Classes in org.apache.commons.configuration2.tree that implement NodeHandlerModifier and TypeClassDescription(package private) classAn abstract base class for aNodeHandlerimplementation forImmutableNodeobjects.classAn abstract base class for decorators of aNodeHandler.(package private) final classA specialNodeHandlerimplementation for tracked nodes.(package private) final classAn internally used helper class for storing information about the managed node structure.Fields in org.apache.commons.configuration2.tree declared as NodeHandlerModifier and TypeFieldDescriptionprivate static final NodeHandler<ImmutableNode> InMemoryNodeModel.DUMMY_HANDLERA dummy node handler instance used in operations which require only a limited functionality.protected static final NodeHandler<ImmutableNode> NodeCombiner.HANDLERA default handler object for immutable nodes.private final NodeHandler<ImmutableNode> TrackedNodeHandler.parentHandlerThe handler for querying the parent mapping.Methods in org.apache.commons.configuration2.tree that return NodeHandlerModifier and TypeMethodDescriptionprivate static NodeHandler<ImmutableNode> NodeCombiner.createNodeHandler()Creates a node handler object for immutable nodes which can be used by sub classes to perform advanced operations on nodes.protected abstract NodeHandler<T> NodeHandlerDecorator.getDecoratedNodeHandler()Gets theNodeHandlerobject that is decorated by this instance.InMemoryNodeModel.getNodeHandler()Gets aNodeHandlerfor dealing with the nodes managed by this model.NodeModel.getNodeHandler()Gets aNodeHandlerfor dealing with the nodes managed by this model.TrackedNodeModel.getNodeHandler()TrackedNodeHandler.getParentHandler()Gets the parent handler.InMemoryNodeModel.getTrackedNodeHandler(NodeSelector selector) Gets aNodeHandlerfor a tracked node.Methods in org.apache.commons.configuration2.tree with parameters of type NodeHandlerModifier and TypeMethodDescriptionprivate static <T> voidNodeTreeWalker.bfs(T root, ConfigurationNodeVisitor<T> visitor, NodeHandler<T> handler) Helper method for performing a BFS traversal.<T> StringDefaultExpressionEngine.canonicalKey(T node, String parentKey, NodeHandler<T> handler) Determines a "canonical" key for the specified node in the expression language supported by this implementation.<T> StringExpressionEngine.canonicalKey(T node, String parentKey, NodeHandler<T> handler) Determines a "canonical" key for the specified node in the expression language supported by this implementation.private static <T> booleanNodeTreeWalker.checkParameters(T root, ConfigurationNodeVisitor<T> visitor, NodeHandler<T> handler) Helper method for checking the parameters for the walk() methods.private <T> intDefaultExpressionEngine.determineIndex(T node, T parent, String nodeName, NodeHandler<T> handler) Determines the index of the given node based on its parent node.private static NodeTracker.TrackedNodeDataNodeTracker.determineUpdatedTrackedNodeData(ImmutableNode root, NodeSelector txTarget, NodeKeyResolver<ImmutableNode> resolver, NodeHandler<ImmutableNode> handler, Map.Entry<NodeSelector, NodeTracker.TrackedNodeData> e) Returns aTrackedNodeDataobject for an update operation.private static <T> voidNodeTreeWalker.dfs(T node, ConfigurationNodeVisitor<T> visitor, NodeHandler<T> handler) Recursive helper method for performing a DFS traversal.private <T> List<T> DefaultExpressionEngine.findChildNodesByName(NodeHandler<T> handler, T parent, String nodeName) Returns a list with all child nodes of the given parent node which match the specified node name.protected <T> TDefaultExpressionEngine.findLastPathNode(DefaultConfigurationKey.KeyIterator keyIt, T node, NodeHandler<T> handler) Finds the last existing node for an add operation.protected <T> voidDefaultExpressionEngine.findNodesForKey(DefaultConfigurationKey.KeyIterator keyPart, T node, Collection<QueryResult<T>> results, NodeHandler<T> handler) Recursive helper method for evaluating a key.QueryResult.getAttributeValue(NodeHandler<T> handler) Gets the attribute value if this is an attribute result.private voidNodeSelector.getFilteredResults(ImmutableNode root, NodeKeyResolver<ImmutableNode> resolver, NodeHandler<ImmutableNode> handler, String key, List<ImmutableNode> nodes) Executes a query for a given key and filters the results for nodes only.<T> booleanNodeMatcher.matches(T node, NodeHandler<T> handler, C criterion) Tests whether the passed in node matches the given criterion.<T> StringDefaultExpressionEngine.nodeKey(T node, String parentKey, NodeHandler<T> handler) Returns the key for the specified node in the expression language supported by an implementation.<T> StringExpressionEngine.nodeKey(T node, String parentKey, NodeHandler<T> handler) Returns the key for the specified node in the expression language supported by an implementation.Generates a unique key for the specified node.<T> NodeAddData<T> DefaultExpressionEngine.prepareAdd(T root, String key, NodeHandler<T> handler) Prepares Adding the property with the specified key.<T> NodeAddData<T> ExpressionEngine.prepareAdd(T root, String key, NodeHandler<T> handler) Returns information needed for an add operation.private <T> voidDefaultExpressionEngine.processSubNodes(DefaultConfigurationKey.KeyIterator keyPart, List<T> subNodes, Collection<QueryResult<T>> nodes, NodeHandler<T> handler) Called byfindNodesForKey()to process the sub nodes of the current node depending on the type of the current key part (children, attributes, or both).<T> List<QueryResult<T>> DefaultExpressionEngine.query(T root, String key, NodeHandler<T> handler) Finds the nodes and/or attributes that are matched by the specified key.<T> List<QueryResult<T>> ExpressionEngine.query(T root, String key, NodeHandler<T> handler) Finds the nodes and/or attributes that are matched by the specified key.NodeKeyResolver.resolveAddKey(T root, String key, NodeHandler<T> handler) Resolves a key of an add operation.List<QueryResult<T>> NodeKeyResolver.resolveKey(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node.NodeKeyResolver.resolveNodeKey(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node returning only node results.NodeKeyResolver.resolveUpdateKey(T root, String key, Object newValue, NodeHandler<T> handler) Resolves a key for an update operation.NodeSelector.select(ImmutableNode root, NodeKeyResolver<ImmutableNode> resolver, NodeHandler<ImmutableNode> handler) Applies thisNodeSelectoron the specified root node.private static NodeTracker.TrackedNodeDataNodeTracker.trackDataForAddedObserver(ImmutableNode root, NodeSelector selector, NodeKeyResolver<ImmutableNode> resolver, NodeHandler<ImmutableNode> handler, NodeTracker.TrackedNodeData trackData) Creates aTrackedNodeDataobject for a newly added observer for the specified node selector.NodeTracker.trackNode(ImmutableNode root, NodeSelector selector, NodeKeyResolver<ImmutableNode> resolver, NodeHandler<ImmutableNode> handler) Adds a node to be tracked.NodeTracker.update(ImmutableNode root, NodeSelector txTarget, NodeKeyResolver<ImmutableNode> resolver, NodeHandler<ImmutableNode> handler) Updates tracking information after the node structure has been changed.voidConfigurationNodeVisitor.visitAfterChildren(T node, NodeHandler<T> handler) Visits the specified node after after its children - if existing - have been processed.voidConfigurationNodeVisitorAdapter.visitAfterChildren(T node, NodeHandler<T> handler) Visits the specified node after after its children - if existing - have been processed.voidConfigurationNodeVisitor.visitBeforeChildren(T node, NodeHandler<T> handler) Visits the specified node before the children of this node - if existing - are processed.voidConfigurationNodeVisitorAdapter.visitBeforeChildren(T node, NodeHandler<T> handler) Visits the specified node before the children of this node - if existing - are processed.<T> voidNodeTreeWalker.walkBFS(T root, ConfigurationNodeVisitor<T> visitor, NodeHandler<T> handler) Visits all nodes in the hierarchy represented by the given root node in breadth first search manner.<T> voidNodeTreeWalker.walkDFS(T root, ConfigurationNodeVisitor<T> visitor, NodeHandler<T> handler) Visits all nodes in the hierarchy represented by the given root node in depth first search manner.Constructors in org.apache.commons.configuration2.tree with parameters of type NodeHandlerModifierConstructorDescriptionTrackedNodeHandler(ImmutableNode root, NodeHandler<ImmutableNode> handler) Creates a new instance ofTrackedNodeHandlerand initializes it with all required information. -
Uses of NodeHandler in org.apache.commons.configuration2.tree.xpath
Fields in org.apache.commons.configuration2.tree.xpath declared as NodeHandlerModifier and TypeFieldDescriptionprivate final NodeHandler<T> ConfigurationNodePointer.handlerThe node handler.private final NodeHandler<T> ConfigurationNodePointerFactory.NodeWrapper.nodeHandlerStores the corresponding node handler.Methods in org.apache.commons.configuration2.tree.xpath that return NodeHandlerModifier and TypeMethodDescriptionprotected NodeHandler<T> AbstractConfigurationNodeIterator.getNodeHandler()Gets the node handler for the managed nodes.private NodeHandler<T> ConfigurationAttributePointer.getNodeHandler()Returns a reference to the current node handler.ConfigurationNodePointer.getNodeHandler()Gets theNodeHandlerused by this instance.ConfigurationNodePointerFactory.NodeWrapper.getNodeHandler()Gets the node handler for the wrapped node.Methods in org.apache.commons.configuration2.tree.xpath with parameters of type NodeHandlerModifier and TypeMethodDescription<T> StringXPathExpressionEngine.canonicalKey(T node, String parentKey, NodeHandler<T> handler) Determines a "canonical" key for the specified node in the expression language supported by this implementation.<T> org.apache.commons.jxpath.JXPathContextXPathContextFactory.createContext(T root, NodeHandler<T> handler) Creates a newJXPathContextbased on the passed in arguments.private <T> org.apache.commons.jxpath.JXPathContextXPathExpressionEngine.createContext(T root, NodeHandler<T> handler) Creates theJXPathContextto be used for executing a query.private static <T> intXPathExpressionEngine.determineIndex(T parent, T child, NodeHandler<T> handler) Determines the index of the given child node in the node list of its parent.private <T> StringXPathExpressionEngine.generateKeyForAdd(T root, String key, NodeHandler<T> handler) Tries to generate a key for adding a property.<T> StringXPathExpressionEngine.nodeKey(T node, String parentKey, NodeHandler<T> handler) Returns the key for the specified node in the expression language supported by an implementation.<T> NodeAddData<T> XPathExpressionEngine.prepareAdd(T root, String key, NodeHandler<T> handler) Returns information needed for an add operation.<T> List<QueryResult<T>> XPathExpressionEngine.query(T root, String key, NodeHandler<T> handler) Finds the nodes and/or attributes that are matched by the specified key.static <T> ObjectConfigurationNodePointerFactory.wrapNode(T node, NodeHandler<T> handler) Creates a node wrapper for the specified node and its handler.Constructors in org.apache.commons.configuration2.tree.xpath with parameters of type NodeHandlerModifierConstructorDescriptionConfigurationNodePointer(ConfigurationNodePointer<T> parent, T node, NodeHandler<T> handler) Creates a new instance ofConfigurationNodePointerand initializes it with its parent pointer.ConfigurationNodePointer(T node, Locale locale, NodeHandler<T> handler) Creates a new instance ofConfigurationNodePointerpointing to the specified node.NodeWrapper(T nd, NodeHandler<T> handler) Creates a new instance ofNodeWrapperand initializes it.