org.apache.jackrabbit.standalone.cli.info
Class Dump

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.info.Dump
All Implemented Interfaces:
org.apache.commons.chain.Command

public class Dump
extends Object
implements org.apache.commons.chain.Command

Dump stored data from the current working Node


Constructor Summary
Dump()
           
 
Method Summary
 void dump(PrintWriter out, Node n)
          Dumps the given Node to the given PrintWriter
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getPathKey()
           
 void setPathKey(String pathKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dump

public Dump()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
Exception

dump

public void dump(PrintWriter out,
                 Node n)
          throws RepositoryException
Dumps the given Node to the given PrintWriter

Parameters:
out - the PrintWriter
n - the Node
Throws:
RepositoryException

getPathKey

public String getPathKey()
Returns:
the path key

setPathKey

public void setPathKey(String pathKey)
Parameters:
pathKey - the path key to set


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