|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.core.Proc
org.basex.core.Command
org.basex.core.cmd.ACreate
org.basex.core.cmd.Replace
public final class Replace
Evaluates the 'replace' command and replaces documents in a collection.
Field Summary |
---|
Fields inherited from class org.basex.core.Command |
---|
args, context, in, mprop, out, perf, prop |
Fields inherited from class org.basex.core.Proc |
---|
listen, updating |
Constructor Summary | |
---|---|
Replace(java.lang.String path)
Constructor. |
|
Replace(java.lang.String path,
java.lang.String input)
Constructor. |
Method Summary | |
---|---|
protected boolean |
run()
Executes the command and serializes the result (internal call). |
Methods inherited from class org.basex.core.cmd.ACreate |
---|
create, databases, drop, newData, sourceToIO, stoppable, supportsProg |
Methods inherited from class org.basex.core.Command |
---|
build, close, databases, error, execute, execute, getOption, getOption, info, info, result, run, run, setInput, setInput, toString, updated, updating |
Methods inherited from class org.basex.core.Proc |
---|
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Replace(java.lang.String path)
Command.setInput(InputStream)
.
path
- resource pathpublic Replace(java.lang.String path, java.lang.String input)
path
- resource pathinput
- input file or XML stringMethod Detail |
---|
protected boolean run()
Command
run
in class Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |