Uses of Interface
org.apache.commons.configuration.tree.ConfigurationNode
-
-
Uses of ConfigurationNode in org.apache.commons.configuration
Classes in org.apache.commons.configuration that implement ConfigurationNode Modifier and Type Class Description static classHierarchicalConfiguration.NodeA data class for storing (hierarchical) property information.Methods in org.apache.commons.configuration that return ConfigurationNode Modifier and Type Method Description ConfigurationNodeCombinedConfiguration. getRootNode()Returns the configuration root node of this combined configuration.ConfigurationNodeDynamicCombinedConfiguration. getRootNode()Returns the configuration root node of this combined configuration.ConfigurationNodeHierarchicalConfiguration. getRootNode()Returns the root node of this hierarchical configuration.ConfigurationNodeMultiFileHierarchicalConfiguration. getRootNode()ConfigurationNodePatternSubtreeConfigurationWrapper. getRootNode()ConfigurationNodeSubnodeConfiguration. getRootNode()Returns the root node for this configuration.Methods in org.apache.commons.configuration that return types with arguments of type ConfigurationNode Modifier and Type Method Description protected java.util.List<ConfigurationNode>AbstractHierarchicalFileConfiguration. fetchNodeList(java.lang.String key)Fetches a list of nodes, which are selected by the specified key.protected java.util.List<ConfigurationNode>CombinedConfiguration. fetchNodeList(java.lang.String key)Evaluates the passed in property key and returns a list with the matching configuration nodes.protected java.util.List<ConfigurationNode>HierarchicalConfiguration. fetchNodeList(java.lang.String key)Helper method for fetching a list of all nodes that are addressed by the specified key.Methods in org.apache.commons.configuration with parameters of type ConfigurationNode Modifier and Type Method Description protected voidHierarchicalConfiguration. clearNode(ConfigurationNode node)Clears the value of the specified node.protected static voidHierarchicalConfiguration. clearReferences(ConfigurationNode node)Clears all reference fields in a node structure.protected SubnodeConfigurationHierarchicalConfiguration. createSubnodeConfiguration(ConfigurationNode node)Creates a subnode configuration for the specified node.protected SubnodeConfigurationHierarchicalConfiguration. createSubnodeConfiguration(ConfigurationNode node, java.lang.String subnodeKey)Creates a new subnode configuration for the specified node and sets its construction key.protected SubnodeConfigurationSubnodeConfiguration. createSubnodeConfiguration(ConfigurationNode node)Returns a hierarchical configuration object for the given sub node.protected SubnodeConfigurationSubnodeConfiguration. createSubnodeConfiguration(ConfigurationNode node, java.lang.String subnodeKey)Returns a hierarchical configuration object for the given sub node that is aware of structural changes of its parent.protected booleanDefaultConfigurationBuilder.ConfigurationDeclaration. isReservedNode(ConfigurationNode nd)Checks whether the given node is reserved.protected booleanHierarchicalConfiguration. nodeDefined(ConfigurationNode node)Checks if the specified node is defined.protected voidHierarchicalConfiguration. removeNode(ConfigurationNode node)Removes the specified node from this configuration.voidDynamicCombinedConfiguration. setRootNode(ConfigurationNode rootNode)voidHierarchicalConfiguration. setRootNode(ConfigurationNode rootNode)Sets the root node of this hierarchical configuration.voidMultiFileHierarchicalConfiguration. setRootNode(ConfigurationNode rootNode)voidPatternSubtreeConfigurationWrapper. setRootNode(ConfigurationNode rootNode)Method parameters in org.apache.commons.configuration with type arguments of type ConfigurationNode Modifier and Type Method Description voidAbstractHierarchicalFileConfiguration. addNodes(java.lang.String key, java.util.Collection<? extends ConfigurationNode> nodes)Directly adds sub nodes to this configuration.voidDynamicCombinedConfiguration. addNodes(java.lang.String key, java.util.Collection<? extends ConfigurationNode> nodes)voidHierarchicalConfiguration. addNodes(java.lang.String key, java.util.Collection<? extends ConfigurationNode> nodes)Adds a collection of nodes at the specified position of the configuration tree.voidMultiFileHierarchicalConfiguration. addNodes(java.lang.String key, java.util.Collection<? extends ConfigurationNode> nodes)voidPatternSubtreeConfigurationWrapper. addNodes(java.lang.String key, java.util.Collection<? extends ConfigurationNode> nodes)voidXMLConfiguration. addNodes(java.lang.String key, java.util.Collection<? extends ConfigurationNode> nodes)Adds a collection of nodes directly to this configuration.protected voidHierarchicalConfiguration. findPropertyNodes(ConfigurationKey.KeyIterator keyPart, HierarchicalConfiguration.Node node, java.util.Collection<ConfigurationNode> nodes)Deprecated.Property keys are now evaluated by the expression engine associated with the configuration; this method will no longer be called.Constructors in org.apache.commons.configuration with parameters of type ConfigurationNode Constructor Description Node(ConfigurationNode src)Creates a new instance ofNodebased on the given source node.SubnodeConfiguration(HierarchicalConfiguration parent, ConfigurationNode root)Creates a new instance ofSubnodeConfigurationand initializes it with the parent configuration and the new root node. -
Uses of ConfigurationNode in org.apache.commons.configuration.beanutils
Methods in org.apache.commons.configuration.beanutils that return ConfigurationNode Modifier and Type Method Description ConfigurationNodeXMLBeanDeclaration. getNode()Returns the node that contains the bean declaration.Methods in org.apache.commons.configuration.beanutils with parameters of type ConfigurationNode Modifier and Type Method Description protected BeanDeclarationXMLBeanDeclaration. createBeanDeclaration(ConfigurationNode node)Creates a newBeanDeclarationfor a child node of the current configuration node.protected booleanXMLBeanDeclaration. isReservedNode(ConfigurationNode nd)Checks if the specified node is reserved and thus should be ignored.Constructors in org.apache.commons.configuration.beanutils with parameters of type ConfigurationNode Constructor Description XMLBeanDeclaration(SubnodeConfiguration config, ConfigurationNode node)Creates a new instance ofXMLBeanDeclarationand initializes it with the configuration node that contains the bean declaration. -
Uses of ConfigurationNode in org.apache.commons.configuration.plist
Classes in org.apache.commons.configuration.plist that implement ConfigurationNode Modifier and Type Class Description static classXMLPropertyListConfiguration.ArrayNodeContainer for array elements.static classXMLPropertyListConfiguration.PListNodeNode extension with addXXX methods to parse the typed data passed by the SAX handler. -
Uses of ConfigurationNode in org.apache.commons.configuration.tree
Classes in org.apache.commons.configuration.tree that implement ConfigurationNode Modifier and Type Class Description classDefaultConfigurationNodeA default implementation of theConfigurationNodeinterface.classViewNodeA specialized node implementation to be used in view configurations.Methods in org.apache.commons.configuration.tree that return ConfigurationNode Modifier and Type Method Description protected ConfigurationNodeMergeCombiner. canCombine(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child, java.util.List<ConfigurationNode> children2)Tests if the first node can be combined with the second node.protected ConfigurationNodeOverrideCombiner. canCombine(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child)Tests if a child node of the second node can be combined with the given child node of the first node.ConfigurationNodeMergeCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Combines the given nodes to a new union node.abstract ConfigurationNodeNodeCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Combines the hierarchies represented by the given root nodes.ConfigurationNodeOverrideCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Constructs an override combination for the passed in node structures.ConfigurationNodeUnionCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Combines the given nodes to a new union node.protected ConfigurationNodeUnionCombiner. findCombineNode(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child, java.util.List<ConfigurationNode> children)Tries to find a child node of the second source node, with which a child of the first source node can be combined.protected ConfigurationNodeDefaultExpressionEngine. findLastPathNode(DefaultConfigurationKey.KeyIterator keyIt, ConfigurationNode node)Finds the last existing node for an add operation.ConfigurationNodeConfigurationNode. getAttribute(int index)Returns the attribute node with the given index.ConfigurationNodeDefaultConfigurationNode. getAttribute(int index)Returns the attribute with the given index.ConfigurationNodeConfigurationNode. getChild(int index)Returns the child node with the given index.ConfigurationNodeDefaultConfigurationNode. getChild(int index)Returns the child node with the given index.ConfigurationNodeDefaultConfigurationNode.SubNodes. getNode(int index)Returns the node with the given index.ConfigurationNodeNodeAddData. getParent()Returns the parent node.ConfigurationNodeConfigurationNode. getParentNode()Returns this node's parent.ConfigurationNodeDefaultConfigurationNode. getParentNode()Returns a reference to this node's parent.Methods in org.apache.commons.configuration.tree that return types with arguments of type ConfigurationNode Modifier and Type Method Description java.util.List<ConfigurationNode>ConfigurationNode. getAttributes()Returns a list with this node's attributes.java.util.List<ConfigurationNode>ConfigurationNode. getAttributes(java.lang.String name)Returns a list with the attribute nodes with the given name.java.util.List<ConfigurationNode>DefaultConfigurationNode. getAttributes()Returns a list with the attributes of this node.java.util.List<ConfigurationNode>DefaultConfigurationNode. getAttributes(java.lang.String name)Returns a list with all attributes of this node with the given name.java.util.List<ConfigurationNode>ConfigurationNode. getChildren()Returns a list with the child nodes of this node.java.util.List<ConfigurationNode>ConfigurationNode. getChildren(java.lang.String name)Returns a list with all children of this node with the given name.java.util.List<ConfigurationNode>DefaultConfigurationNode. getChildren()Returns a list with all children of this node.java.util.List<ConfigurationNode>DefaultConfigurationNode. getChildren(java.lang.String name)Returns a list of all children with the given name.java.util.List<ConfigurationNode>DefaultConfigurationNode.SubNodes. getSubNodes()Returns a list with all stored sub nodes.java.util.List<ConfigurationNode>DefaultConfigurationNode.SubNodes. getSubNodes(java.lang.String name)Returns a list of the sub nodes with the given name.java.util.List<ConfigurationNode>DefaultExpressionEngine. query(ConfigurationNode root, java.lang.String key)Evaluates the given key and returns all matching nodes.java.util.List<ConfigurationNode>ExpressionEngine. query(ConfigurationNode root, java.lang.String key)Finds the node(s) that is (are) matched by the specified key.Methods in org.apache.commons.configuration.tree with parameters of type ConfigurationNode Modifier and Type Method Description voidConfigurationNode. addAttribute(ConfigurationNode attr)Adds the specified attribute to this nodevoidDefaultConfigurationNode. addAttribute(ConfigurationNode attr)Adds the specified attribute to this node.voidViewNode. addAttribute(ConfigurationNode attr)Adds an attribute to this view node.protected voidMergeCombiner. addAttributes(ViewNode result, ConfigurationNode node1, ConfigurationNode node2)Handles the attributes during a combination process.protected voidOverrideCombiner. addAttributes(ViewNode result, ConfigurationNode node1, ConfigurationNode node2)Handles the attributes during a combination process.voidConfigurationNode. addChild(ConfigurationNode node)Adds a child to this node.voidDefaultConfigurationNode. addChild(ConfigurationNode child)Adds a new child to this node.voidViewNode. addChild(ConfigurationNode child)Adds a child node to this view node.voidDefaultConfigurationNode.SubNodes. addNode(ConfigurationNode node)Adds a new sub node.voidViewNode. appendAttributes(ConfigurationNode source)Adds all attribute nodes of the given source node to this view node.voidViewNode. appendChildren(ConfigurationNode source)Adds all child nodes of the given source node to this view node.protected ConfigurationNodeMergeCombiner. canCombine(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child, java.util.List<ConfigurationNode> children2)Tests if the first node can be combined with the second node.protected ConfigurationNodeOverrideCombiner. canCombine(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child)Tests if a child node of the second node can be combined with the given child node of the first node.ConfigurationNodeMergeCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Combines the given nodes to a new union node.abstract ConfigurationNodeNodeCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Combines the hierarchies represented by the given root nodes.ConfigurationNodeOverrideCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Constructs an override combination for the passed in node structures.ConfigurationNodeUnionCombiner. combine(ConfigurationNode node1, ConfigurationNode node2)Combines the given nodes to a new union node.protected voidDefaultConfigurationNode.SubNodes. detachNode(ConfigurationNode subNode)This method is called whenever a sub node is removed from this object.protected ConfigurationNodeUnionCombiner. findCombineNode(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child, java.util.List<ConfigurationNode> children)Tries to find a child node of the second source node, with which a child of the first source node can be combined.protected ConfigurationNodeDefaultExpressionEngine. findLastPathNode(DefaultConfigurationKey.KeyIterator keyIt, ConfigurationNode node)Finds the last existing node for an add operation.protected voidDefaultExpressionEngine. findNodesForKey(DefaultConfigurationKey.KeyIterator keyPart, ConfigurationNode node, java.util.Collection<ConfigurationNode> nodes)Recursive helper method for evaluating a key.booleanNodeCombiner. isListNode(ConfigurationNode node)Checks if a node is a list node.java.lang.StringDefaultExpressionEngine. nodeKey(ConfigurationNode node, java.lang.String parentKey)Determines the key of the passed in node.java.lang.StringExpressionEngine. nodeKey(ConfigurationNode node, java.lang.String parentKey)Returns the key for the specified node in the expression language supported by an implementation.NodeAddDataDefaultExpressionEngine. prepareAdd(ConfigurationNode root, java.lang.String key)Prepares Adding the property with the specified key.NodeAddDataExpressionEngine. prepareAdd(ConfigurationNode root, java.lang.String key)Returns information needed for an add operation.static voidTreeUtils. printTree(java.io.PrintStream stream, ConfigurationNode result)Print out the data in the configuration.java.util.List<ConfigurationNode>DefaultExpressionEngine. query(ConfigurationNode root, java.lang.String key)Evaluates the given key and returns all matching nodes.java.util.List<ConfigurationNode>ExpressionEngine. query(ConfigurationNode root, java.lang.String key)Finds the node(s) that is (are) matched by the specified key.booleanConfigurationNode. removeAttribute(ConfigurationNode node)Removes the specified attribute from this node.booleanDefaultConfigurationNode. removeAttribute(ConfigurationNode node)Removes the specified attribute.booleanConfigurationNode. removeChild(ConfigurationNode child)Removes the given node from this node's children.booleanDefaultConfigurationNode. removeChild(ConfigurationNode child)Removes the specified child node from this node.booleanDefaultConfigurationNode.SubNodes. removeNode(ConfigurationNode node)Removes a sub node.voidNodeAddData. setParent(ConfigurationNode parent)Sets the parent node.voidConfigurationNode. setParentNode(ConfigurationNode parent)Sets the parent of this node.voidDefaultConfigurationNode. setParentNode(ConfigurationNode parent)Sets the parent of this node.voidConfigurationNodeVisitor. visitAfterChildren(ConfigurationNode node)Visits the specified node.voidConfigurationNodeVisitorAdapter. visitAfterChildren(ConfigurationNode node)Empty dummy implementation of this interface method.voidConfigurationNodeVisitor. visitBeforeChildren(ConfigurationNode node)Visits the specified node.voidConfigurationNodeVisitorAdapter. visitBeforeChildren(ConfigurationNode node)Empty dummy implementation of this interface method.Method parameters in org.apache.commons.configuration.tree with type arguments of type ConfigurationNode Modifier and Type Method Description protected ConfigurationNodeMergeCombiner. canCombine(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child, java.util.List<ConfigurationNode> children2)Tests if the first node can be combined with the second node.protected voidDefaultConfigurationNode.SubNodes. detachNodes(java.util.Collection<? extends ConfigurationNode> subNodes)Detaches a list of sub nodes.protected ConfigurationNodeUnionCombiner. findCombineNode(ConfigurationNode node1, ConfigurationNode node2, ConfigurationNode child, java.util.List<ConfigurationNode> children)Tries to find a child node of the second source node, with which a child of the first source node can be combined.protected voidDefaultExpressionEngine. findNodesForKey(DefaultConfigurationKey.KeyIterator keyPart, ConfigurationNode node, java.util.Collection<ConfigurationNode> nodes)Recursive helper method for evaluating a key.Constructors in org.apache.commons.configuration.tree with parameters of type ConfigurationNode Constructor Description NodeAddData(ConfigurationNode parent, java.lang.String nodeName)Creates a new instance ofNodeAddDataand sets the most important data fields. -
Uses of ConfigurationNode in org.apache.commons.configuration.tree.xpath
Methods in org.apache.commons.configuration.tree.xpath that return types with arguments of type ConfigurationNode Modifier and Type Method Description java.util.List<ConfigurationNode>XPathExpressionEngine. query(ConfigurationNode root, java.lang.String key)Executes a query.Methods in org.apache.commons.configuration.tree.xpath with parameters of type ConfigurationNode Modifier and Type Method Description protected org.apache.commons.jxpath.JXPathContextXPathExpressionEngine. createContext(ConfigurationNode root, java.lang.String key)Creates theJXPathContextused for executing a query.java.lang.StringXPathExpressionEngine. nodeKey(ConfigurationNode node, java.lang.String parentKey)Returns a (canonical) key for the given node based on the parent's key.NodeAddDataXPathExpressionEngine. prepareAdd(ConfigurationNode root, java.lang.String key)Prepares an add operation for a configuration property.java.util.List<ConfigurationNode>XPathExpressionEngine. query(ConfigurationNode root, java.lang.String key)Executes a query.
-