|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.standalone.cli.xml.AbstractExportViewToFile
public abstract class AbstractExportViewToFile
Export the xml view to a file
| Field Summary | |
|---|---|
protected String |
desFsPathKey
target file key |
protected String |
noRecurseKey
no recurse flag key |
protected String |
overwriteKey
overwrite flag key |
protected String |
skipBinaryKey
skip binary flag key |
protected String |
srcAbsPathKey
from literal |
| Constructor Summary | |
|---|---|
AbstractExportViewToFile()
|
|
| Method Summary | |
|---|---|
boolean |
execute(org.apache.commons.chain.Context ctx)
|
protected abstract void |
exportView(Node node,
OutputStream out,
boolean skipBinary,
boolean noRecurse)
Export the view to the given OutputStream |
String |
getDesFsPathKey()
|
String |
getNoRecurseKey()
|
protected OutputStream |
getOutputStream(org.apache.commons.chain.Context ctx)
|
String |
getOverwriteKey()
|
String |
getSkipBinaryKey()
|
String |
getSrcAbsPathKey()
|
void |
setDesFsPathKey(String toKey)
|
void |
setNoRecurseKey(String noRecurseKey)
|
void |
setOverwriteKey(String overwriteKey)
|
void |
setSkipBinaryKey(String skipBinaryKey)
|
void |
setSrcAbsPathKey(String fromKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String srcAbsPathKey
protected String desFsPathKey
protected String overwriteKey
protected String skipBinaryKey
protected String noRecurseKey
| Constructor Detail |
|---|
public AbstractExportViewToFile()
| Method Detail |
|---|
protected OutputStream getOutputStream(org.apache.commons.chain.Context ctx)
throws CommandException,
IOException
CommandException
IOExceptionpublic String getNoRecurseKey()
public void setNoRecurseKey(String noRecurseKey)
noRecurseKey - the no recurse key to setpublic String getOverwriteKey()
public void setOverwriteKey(String overwriteKey)
overwriteKey - the overwrite key to setpublic String getSkipBinaryKey()
public void setSkipBinaryKey(String skipBinaryKey)
skipBinaryKey - the skip binary key to setpublic String getSrcAbsPathKey()
public void setSrcAbsPathKey(String fromKey)
fromKey - the from key to setpublic String getDesFsPathKey()
public void setDesFsPathKey(String toKey)
toKey - the to key to set
public final boolean execute(org.apache.commons.chain.Context ctx)
throws Exception
execute in interface org.apache.commons.chain.CommandException
protected abstract void exportView(Node node,
OutputStream out,
boolean skipBinary,
boolean noRecurse)
throws PathNotFoundException,
IOException,
RepositoryException
node - the Nodeout - the OutputStreamskipBinary - noRecurse -
RepositoryException
IOException
PathNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||