Constructor and Description |
---|
FutureParser(Pattern pattern,
FutureElementType... elementTypes)
Creates a Parser with a given regular expression pattern and ElementTypes.
|
Modifier and Type | Method and Description |
---|---|
void |
parse(CharSequence in,
FutureAppendable out)
Parses all the CharSequence.
|
void |
setData(String key,
Object o) |
void |
setHttpRequest(DriverRequest httpRequest) |
public FutureParser(Pattern pattern, FutureElementType... elementTypes)
pattern
- The regular expression PatternelementTypes
- The element typespublic void parse(CharSequence in, FutureAppendable out) throws IOException, HttpErrorPage
in
- The CharSequence to parseout
- The Writable to write the result toIOException
HttpErrorPage
public void setHttpRequest(DriverRequest httpRequest)
Copyright © 2008–2018. All rights reserved.