org.apache.stratos.lb.common.conf.structure
Class NodeBuilder
java.lang.Object
org.apache.stratos.lb.common.conf.structure.NodeBuilder
public class NodeBuilder
- extends Object
This responsible for build up a Node object from a given content.
Every closing brace should be in a new line.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeBuilder
public NodeBuilder()
buildNode
public static Node buildNode(Node aNode,
String content)
- This method is useful when you do not have a root node in your content.
- Parameters:
aNode - Node object whose name set.content - should be something similar to following.
abc d;
efg h;
# comment
ij { # comment
klm n;
pq {
rst u;
}
}
- Returns:
- fully constructed Node
buildNode
public static Node buildNode(String content)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.