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.
|
static Selenese |
parse(String filename,
InputStream is,
Runner runner)
Deprecated.
Replaced by
parse(String, InputStream, ICommandFactory) |
static Selenese |
parse(String filename,
Runner runner)
Deprecated.
|
static Selenese |
setContextForBackwardCompatibility(Selenese selenese,
Context context)
Deprecated.
|
@Deprecated public static Selenese parse(String filename, InputStream is, Runner runner)
parse(String, InputStream, ICommandFactory)filename - selenese script file. (not open. used for label or generating output filename)is - input stream of script file. (test-case or test-suite)runner - Runner object.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.@Deprecated public static Selenese parse(String filename, Runner runner)
parse(String, ICommandFactory)filename - selenese script file. (test-case or test-suite)runner - Runner object.public static Selenese parse(String filename, ICommandFactory commandFactory)
filename - selenese script file. (test-case or test-suite)commandFactory - command factory.@Deprecated public static Selenese setContextForBackwardCompatibility(Selenese selenese, Context context)
selenese - Selenese object.context - Selenese Runner context.protected abstract Selenese parse(ICommandFactory commandFactory)
Copyright © 2016. All rights reserved.