Uses of Class
org.apache.commons.configuration2.tree.TreeData
Packages that use TreeData
Package
Description
A package with helper and utility classes used by hierarchical configurations.
-
Uses of TreeData in org.apache.commons.configuration2.tree
Fields in org.apache.commons.configuration2.tree declared as TreeDataModifier and TypeFieldDescriptionprivate final TreeDataModelTransaction.currentDataStores the current tree data of the calling node model.Fields in org.apache.commons.configuration2.tree with type parameters of type TreeDataModifier and TypeFieldDescriptionprivate final AtomicReference<TreeData> InMemoryNodeModel.structureStores information about the current nodes structure.Methods in org.apache.commons.configuration2.tree that return TreeDataModifier and TypeMethodDescriptionprivate static TreeDataInMemoryNodeModel.createDataWithTrackedChildNode(TreeData current, ImmutableNode parent, String childName, NodeKeyResolver<ImmutableNode> resolver, org.apache.commons.lang3.mutable.MutableObject<NodeSelector> refSelector) Creates a new data object with a tracked child node of the given parent node.private static TreeDataInMemoryNodeModel.createSelectorsForTrackedNodes(org.apache.commons.lang3.mutable.Mutable<Collection<NodeSelector>> refSelectors, List<ImmutableNode> nodes, TreeData current, NodeKeyResolver<ImmutableNode> resolver) Creates tracked node entries for the specified nodes and creates the corresponding selectors.private TreeDataInMemoryNodeModel.createTreeData(ImmutableNode root, TreeData current) Creates aTreeDataobject for the specified root node.private TreeDataInMemoryNodeModel.createTreeDataForRootAndTracker(ImmutableNode root, NodeTracker newTracker) Creates aTreeDataobject for the specified root node andNodeTracker.ModelTransaction.execute()Executes this transaction resulting in a newTreeDataobject.ModelTransaction.getCurrentData()Gets the currentTreeDataobject this transaction operates on.(package private) TreeDataInMemoryNodeModel.getTreeData()Gets the currentTreeDataobject.private static TreeDataInMemoryNodeModel.updateDataWithNewTrackedNode(TreeData current, ImmutableNode node, NodeKeyResolver<ImmutableNode> resolver, org.apache.commons.lang3.mutable.MutableObject<NodeSelector> refSelector) Adds a tracked node that has already been resolved to the specified data object.TreeData.updateNodeTracker(NodeTracker newTracker) Creates a new instance which uses the specifiedNodeTracker.TreeData.updateReferenceTracker(ReferenceTracker newTracker) Creates a new instance which uses the specifiedReferenceTracker.Methods in org.apache.commons.configuration2.tree with parameters of type TreeDataModifier and TypeMethodDescriptionprivate static TreeDataInMemoryNodeModel.createDataWithTrackedChildNode(TreeData current, ImmutableNode parent, String childName, NodeKeyResolver<ImmutableNode> resolver, org.apache.commons.lang3.mutable.MutableObject<NodeSelector> refSelector) Creates a new data object with a tracked child node of the given parent node.private static TreeDataInMemoryNodeModel.createSelectorsForTrackedNodes(org.apache.commons.lang3.mutable.Mutable<Collection<NodeSelector>> refSelectors, List<ImmutableNode> nodes, TreeData current, NodeKeyResolver<ImmutableNode> resolver) Creates tracked node entries for the specified nodes and creates the corresponding selectors.private TreeDataInMemoryNodeModel.createTreeData(ImmutableNode root, TreeData current) Creates aTreeDataobject for the specified root node.private booleanInMemoryNodeModel.executeTransactionOnCurrentStructure(InMemoryNodeModel.TransactionInitializer txInit, NodeSelector selector, TreeData currentData, NodeKeyResolver<ImmutableNode> resolver) Executes a transaction on the current data of this model.private booleanInMemoryNodeModel.executeTransactionOnDetachedTrackedNode(InMemoryNodeModel.TransactionInitializer txInit, NodeSelector selector, TreeData currentData, NodeKeyResolver<ImmutableNode> resolver) Tries to execute a transaction on the model of a detached tracked node.private ImmutableNodeModelTransaction.initQueryRoot(TreeData treeData, NodeSelector selector) Initializes the root node to be used within queries.private booleanInMemoryNodeModel.replaceActiveTrackedNode(TreeData currentData, NodeSelector selector, ImmutableNode newNode) Replaces an active tracked node.private booleanInMemoryNodeModel.replaceDetachedTrackedNode(TreeData currentData, NodeSelector selector, ImmutableNode newNode) Replaces a tracked node if it is already detached.private static TreeDataInMemoryNodeModel.updateDataWithNewTrackedNode(TreeData current, ImmutableNode node, NodeKeyResolver<ImmutableNode> resolver, org.apache.commons.lang3.mutable.MutableObject<NodeSelector> refSelector) Adds a tracked node that has already been resolved to the specified data object.Constructors in org.apache.commons.configuration2.tree with parameters of type TreeDataModifierConstructorDescriptionModelTransaction(TreeData treeData, NodeSelector selector, NodeKeyResolver<ImmutableNode> resolver) Creates a new instance ofModelTransactionfor the current tree data.