org.apache.jackrabbit.standalone.cli.xml
Class ExportDocViewToFile

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.xml.AbstractExportViewToFile
      extended by org.apache.jackrabbit.standalone.cli.xml.ExportDocViewToFile
All Implemented Interfaces:
org.apache.commons.chain.Command

public class ExportDocViewToFile
extends AbstractExportViewToFile

Serialize the Node to 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
ExportDocViewToFile()
           
 
Method Summary
protected  void exportView(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportDocViewToFile

public ExportDocViewToFile()
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:
exportView in class AbstractExportViewToFile
Parameters:
node - the Node
out - the OutputStream
Throws:
PathNotFoundException
IOException
RepositoryException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.