@Immutable public abstract class AbstractAgent extends Object implements Agent
Agent.Iterative
Constructor and Description |
---|
AbstractAgent(String... args)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Talk talk)
Execute it.
|
protected abstract Iterable<org.xembly.Directive> |
process(com.jcabi.xml.XML xml)
Process it.
|
public AbstractAgent(String... args)
args
- XPath expressionspublic final void execute(Talk talk) throws IOException
Agent
execute
in interface Agent
talk
- Talk to work withIOException
- If failsprotected abstract Iterable<org.xembly.Directive> process(com.jcabi.xml.XML xml) throws IOException
xml
- Its xmlIOException
- If failsCopyright © 2009–2018 Rultor Inc.. All rights reserved.