org.apache.jackrabbit.standalone.cli.namespace
Class RegisterNamespace

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

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

Register a namespace


Constructor Summary
RegisterNamespace()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getPrefixKey()
           
 String getUriKey()
           
 void setPrefixKey(String prefixKey)
           
 void setUriKey(String uriKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterNamespace

public RegisterNamespace()
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

getPrefixKey

public String getPrefixKey()
Returns:
the prefix key.

setPrefixKey

public void setPrefixKey(String prefixKey)
Parameters:
prefixKey - the prefix key to set

getUriKey

public String getUriKey()
Returns:
the uri key

setUriKey

public void setUriKey(String uriKey)
Parameters:
uriKey - the uri key to set


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