public abstract class Parser extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Parser.NodeIterator |
| Modifier and Type | Field and Description |
|---|---|
protected Document |
docucment |
protected String |
filename |
| Modifier | Constructor and Description |
|---|---|
protected |
Parser(String filename,
Document document) |
| Modifier and Type | Method and Description |
|---|---|
protected static Iterable<Node> |
each(NodeList nodeList) |
protected abstract Selenese |
parse(ICommandFactory commandFactory) |
static Selenese |
parse(String filename,
ICommandFactory commandFactory)
Parse file.
|
static Selenese |
parse(String filename,
InputStream is,
ICommandFactory commandFactory)
Parse input stream.
|
public static Selenese parse(String filename, InputStream is, ICommandFactory commandFactory)
filename - selenese script file. (not open. used for label or generating output filename)is - input stream of script file. (test-case or test-suite)commandFactory - command factory.public static Selenese parse(String filename, ICommandFactory commandFactory)
filename - selenese script file. (test-case or test-suite)commandFactory - command factory.protected abstract Selenese parse(ICommandFactory commandFactory)
Copyright © 2017. All rights reserved.