Uses of Class
org.apache.commons.configuration2.tree.ImmutableNode.Builder
-
Packages that use ImmutableNode.Builder Package Description org.apache.commons.configuration2 The Configuration main package.org.apache.commons.configuration2.tree 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.Builder Modifier and Type Field Description private java.util.List<ImmutableNode.Builder>
BaseHierarchicalConfiguration.InterpolatedVisitor. builderStack
A stack for managing node builder instances.Methods in org.apache.commons.configuration2 that return ImmutableNode.Builder Modifier and Type Method Description private ImmutableNode.Builder
BaseHierarchicalConfiguration.InterpolatedVisitor. peek()
Returns the top-level element from the stack without removing it.private ImmutableNode.Builder
BaseHierarchicalConfiguration.InterpolatedVisitor. pop()
Pops the top-level element from the stack.Methods in org.apache.commons.configuration2 with parameters of type ImmutableNode.Builder Modifier and Type Method Description private java.util.Map<java.lang.String,java.lang.String>
XMLConfiguration. constructHierarchy(ImmutableNode.Builder node, org.apache.commons.lang3.mutable.MutableObject<java.lang.String> refValue, org.w3c.dom.Element element, java.util.Map<ImmutableNode,java.lang.Object> elemRefs, boolean trim, int level)
Helper method for building the internal storage hierarchy.private ImmutableNode
XMLConfiguration. createChildNodeWithValue(ImmutableNode.Builder parent, ImmutableNode.Builder child, org.w3c.dom.Element elem, java.lang.String value, boolean trim, java.util.Map<java.lang.String,java.lang.String> attrmap, java.util.Map<ImmutableNode,java.lang.Object> elemRefs)
Creates a new child node, assigns its value, and adds it to its parent.private static ImmutableNode
INIConfiguration. createNewRootNode(ImmutableNode.Builder rootBuilder, java.util.Map<java.lang.String,ImmutableNode.Builder> sectionBuilders)
Creates a new root node from the builders constructed while reading the configuration file.private void
INIConfiguration. createNodeBuilders(java.io.BufferedReader in, ImmutableNode.Builder rootBuilder, java.util.Map<java.lang.String,ImmutableNode.Builder> sectionBuilders)
Reads the content of an INI file from the passed in reader and creates a structure of builders for constructing theImmutableNode
objects representing the data.private void
INIConfiguration. createValueNodes(ImmutableNode.Builder sectionBuilder, java.lang.String key, java.lang.String value)
Creates the node(s) for the given key value-pair.private void
CombinedConfiguration.ConfigData. prependAtPathComponent(ImmutableNode.Builder builder, java.lang.String currentComponent, java.util.Iterator<java.lang.String> components, ImmutableNode orgRoot)
Handles a single component of the at path.private void
BaseHierarchicalConfiguration.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.Builder Modifier and Type Method Description private static ImmutableNode
INIConfiguration. createNewRootNode(ImmutableNode.Builder rootBuilder, java.util.Map<java.lang.String,ImmutableNode.Builder> sectionBuilders)
Creates a new root node from the builders constructed while reading the configuration file.private void
INIConfiguration. createNodeBuilders(java.io.BufferedReader in, ImmutableNode.Builder rootBuilder, java.util.Map<java.lang.String,ImmutableNode.Builder> sectionBuilders)
Reads the content of an INI file from the passed in reader and creates a structure of builders for constructing theImmutableNode
objects representing the data. -
Uses of ImmutableNode.Builder in org.apache.commons.configuration2.tree
Methods in org.apache.commons.configuration2.tree that return ImmutableNode.Builder Modifier and Type Method Description ImmutableNode.Builder
ImmutableNode.Builder. addAttribute(java.lang.String name, java.lang.Object value)
Adds an attribute to this builder.ImmutableNode.Builder
ImmutableNode.Builder. addAttributes(java.util.Map<java.lang.String,?> attrs)
Adds all attributes of the given map to this builder.ImmutableNode.Builder
ImmutableNode.Builder. addChild(ImmutableNode c)
Adds a child node to this builder.ImmutableNode.Builder
ImmutableNode.Builder. addChildren(java.util.Collection<? extends ImmutableNode> children)
Adds multiple child nodes to this builder.ImmutableNode.Builder
ImmutableNode.Builder. name(java.lang.String n)
Sets the name of the node to be created.ImmutableNode.Builder
ImmutableNode.Builder. value(java.lang.Object v)
Sets the value of the node to be created.Methods in org.apache.commons.configuration2.tree with parameters of type ImmutableNode.Builder Modifier and Type Method Description protected void
MergeCombiner. addAttributes(ImmutableNode.Builder result, ImmutableNode node1, ImmutableNode node2)
Handles the attributes during a combination process.protected void
OverrideCombiner. addAttributes(ImmutableNode.Builder result, ImmutableNode node1, ImmutableNode node2)
Handles the attributes during a combination process.private ImmutableNode
ImmutableNode. 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.Builder Constructor Description ImmutableNode(ImmutableNode.Builder b)
Creates a new instance ofImmutableNode
from the givenBuilder
object.
-