public class DOMParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
ATTRIBUTESPATTERN |
static Pattern |
COMMENTPATTERN |
static Pattern |
SELFTCLOSETAGPATTERN |
static Pattern |
TAGCLOSEPATTERN |
static Pattern |
TAGSTARTPATTERN |
| Constructor and Description |
|---|
DOMParser() |
| Modifier and Type | Method and Description |
|---|---|
static Node |
createDOMTree(List<String> xmlTokens)
Creates the XML DOM tree from XML token List tree.
|
static Node |
createDOMTree(Node currentNode,
List<String> xmlTokens)
Creates the XML DOM tree from XML token List tree as childNodeList of currentNode.
|
public static final Pattern COMMENTPATTERN
public static final Pattern TAGSTARTPATTERN
public static final Pattern TAGCLOSEPATTERN
public static final Pattern SELFTCLOSETAGPATTERN
public static final Pattern ATTRIBUTESPATTERN
public static Node createDOMTree(List<String> xmlTokens)
xmlTokens - The HTML token array.public static Node createDOMTree(Node currentNode, List<String> xmlTokens)
currentNode - The Node to add childNode to.xmlTokens - The HTML token arrayCopyright © 2003–2021 eXo Platform SAS. All rights reserved.