public class XmlTree<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlTree.TextSource |
static class |
XmlTree.XmlProblem |
| Modifier and Type | Field and Description |
|---|---|
static int |
KIND_ERROR |
static int |
KIND_FATAL |
static int |
KIND_WARN |
static String |
PARSER_SOURCE |
| Constructor and Description |
|---|
XmlTree(XmlTree.TextSource source,
T root,
List<XmlTree.XmlProblem> errors) |
| Modifier and Type | Method and Description |
|---|---|
List<XmlTree.XmlProblem> |
getErrors() |
T |
getRoot() |
XmlTree.TextSource |
getSource() |
boolean |
hasErrors() |
static XmlTree<XmlNode> |
parse(XmlTree.TextSource source) |
public static final int KIND_FATAL
public static final int KIND_ERROR
public static final int KIND_WARN
public static final String PARSER_SOURCE
public XmlTree(XmlTree.TextSource source, T root, List<XmlTree.XmlProblem> errors)
public XmlTree.TextSource getSource()
public T getRoot()
public List<XmlTree.XmlProblem> getErrors()
public boolean hasErrors()
public static XmlTree<XmlNode> parse(XmlTree.TextSource source)
Copyright © 2014. All rights reserved.