public class Node extends Object
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesMatchWith(Node other) |
boolean |
doesMatchWith(Node other,
boolean ignoreRootNames) |
List<Node> |
getChildren() |
String |
getClassType() |
String |
getName() |
String |
getValue() |
boolean |
isContainer() |
Node |
setChildren(List<Node> children) |
Node |
setClassType(String classType) |
Node |
setIsContainer(boolean isContainer) |
Node |
setName(String name) |
Node |
setValue(String value) |
String |
toXml() |
String |
toXml(Map<String,String> attributes) |
public boolean doesMatchWith(Node other)
public boolean doesMatchWith(Node other, boolean ignoreRootNames)
public String toXml()
public boolean isContainer()
public Node setIsContainer(boolean isContainer)
public String getName()
public String getValue()
public String getClassType()
Copyright © 2016. All rights reserved.