Uses of Class
org.apache.commons.configuration2.tree.ImmutableNode.Builder
Packages that use ImmutableNode.Builder
Package
Description
The Configuration main package.
A package with helper and utility classes used by hierarchical configurations.
-
Uses of ImmutableNode.Builder in org.apache.commons.configuration2
Fields in org.apache.commons.configuration2 with type parameters of type ImmutableNode.BuilderModifier and TypeFieldDescriptionprivate final List<ImmutableNode.Builder> BaseHierarchicalConfiguration.InterpolatedVisitor.builderStackA stack for managing node builder instances.Methods in org.apache.commons.configuration2 that return ImmutableNode.BuilderModifier and TypeMethodDescriptionprivate ImmutableNode.BuilderBaseHierarchicalConfiguration.InterpolatedVisitor.peek()Returns the top-level element from the stack without removing it.private ImmutableNode.BuilderBaseHierarchicalConfiguration.InterpolatedVisitor.pop()Pops the top-level element from the stack.Methods in org.apache.commons.configuration2 with parameters of type ImmutableNode.BuilderModifier and TypeMethodDescriptionXMLConfiguration.constructHierarchy(ImmutableNode.Builder node, org.apache.commons.lang3.mutable.MutableObject<String> refValue, Element element, Map<ImmutableNode, Object> elemRefs, boolean trim, int level) Helper method for building the internal storage hierarchy.private ImmutableNodeXMLConfiguration.createChildNodeWithValue(ImmutableNode.Builder parent, ImmutableNode.Builder child, Element elem, String value, boolean trim, Map<String, String> attrmap, Map<ImmutableNode, Object> elemRefs) Creates a new child node, assigns its value, and adds it to its parent.private static ImmutableNodeINIConfiguration.createNewRootNode(ImmutableNode.Builder rootBuilder, Map<String, ImmutableNode.Builder> sectionBuilders) Creates a new root node from the builders constructed while reading the configuration file.private voidINIConfiguration.createNodeBuilders(BufferedReader in, ImmutableNode.Builder rootBuilder, Map<String, ImmutableNode.Builder> sectionBuilders) Reads the content of an INI file from the passed in reader and creates a structure of builders for constructing theImmutableNodeobjects representing the data.private voidINIConfiguration.createValueNodes(ImmutableNode.Builder sectionBuilder, String key, String value) Creates the node(s) for the given key value-pair.private voidCombinedConfiguration.ConfigData.prependAtPathComponent(ImmutableNode.Builder builder, String currentComponent, Iterator<String> components, ImmutableNode orgRoot) Handles a single component of the at path.private voidBaseHierarchicalConfiguration.InterpolatedVisitor.push(ImmutableNode.Builder builder) Pushes a new builder on the stack.Method parameters in org.apache.commons.configuration2 with type arguments of type ImmutableNode.BuilderModifier and TypeMethodDescriptionprivate static ImmutableNodeINIConfiguration.createNewRootNode(ImmutableNode.Builder rootBuilder, Map<String, ImmutableNode.Builder> sectionBuilders) Creates a new root node from the builders constructed while reading the configuration file.private voidINIConfiguration.createNodeBuilders(BufferedReader in, ImmutableNode.Builder rootBuilder, Map<String, ImmutableNode.Builder> sectionBuilders) Reads the content of an INI file from the passed in reader and creates a structure of builders for constructing theImmutableNodeobjects representing the data. -
Uses of ImmutableNode.Builder in org.apache.commons.configuration2.tree
Methods in org.apache.commons.configuration2.tree that return ImmutableNode.BuilderModifier and TypeMethodDescriptionImmutableNode.Builder.addAttribute(String name, Object value) Adds an attribute to this builder.ImmutableNode.Builder.addAttributes(Map<String, ?> attrs) Adds all attributes of the given map to this builder.ImmutableNode.Builder.addChild(ImmutableNode c) Adds a child node to this builder.ImmutableNode.Builder.addChildren(Collection<? extends ImmutableNode> children) Adds multiple child nodes to this builder.Sets the name of the node to be created.Sets the value of the node to be created.Methods in org.apache.commons.configuration2.tree with parameters of type ImmutableNode.BuilderModifier and TypeMethodDescriptionprotected voidMergeCombiner.addAttributes(ImmutableNode.Builder result, ImmutableNode node1, ImmutableNode node2) Handles the attributes during a combination process.protected voidOverrideCombiner.addAttributes(ImmutableNode.Builder result, ImmutableNode node1, ImmutableNode node2) Handles the attributes during a combination process.private ImmutableNodeImmutableNode.createWithBasicProperties(ImmutableNode.Builder builder) Initializes the given builder with basic properties (node name and value) and returns the newly created node.Constructors in org.apache.commons.configuration2.tree with parameters of type ImmutableNode.BuilderModifierConstructorDescriptionprivateCreates a new instance ofImmutableNodefrom the givenBuilderobject.