Class ExportDocViewToFile
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.xml.AbstractExportViewToFile
-
- org.apache.jackrabbit.standalone.cli.xml.ExportDocViewToFile
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class ExportDocViewToFile extends AbstractExportViewToFile
Serialize theNodeto the given file using the Document View Format
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.standalone.cli.xml.AbstractExportViewToFile
desFsPathKey, noRecurseKey, overwriteKey, skipBinaryKey, srcAbsPathKey
-
-
Constructor Summary
Constructors Constructor Description ExportDocViewToFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexportView(Node node, OutputStream out, boolean skipBinary, boolean noRecurse)Export the view to the given OutputStream-
Methods inherited from class org.apache.jackrabbit.standalone.cli.xml.AbstractExportViewToFile
execute, getDesFsPathKey, getNoRecurseKey, getOutputStream, getOverwriteKey, getSkipBinaryKey, getSrcAbsPathKey, setDesFsPathKey, setNoRecurseKey, setOverwriteKey, setSkipBinaryKey, setSrcAbsPathKey
-
-
-
-
Method Detail
-
exportView
protected void exportView(Node node, OutputStream out, boolean skipBinary, boolean noRecurse) throws PathNotFoundException, IOException, RepositoryException
Export the view to the given OutputStream- Specified by:
exportViewin classAbstractExportViewToFile- Parameters:
node- theNodeout- theOutputStream- Throws:
PathNotFoundExceptionIOExceptionRepositoryException
-
-