Class RegisterNamespace
- java.lang.Object
-
- 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
Constructors Constructor Description RegisterNamespace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute(org.apache.commons.chain.Context ctx)
String
getPrefixKey()
String
getUriKey()
void
setPrefixKey(String prefixKey)
void
setUriKey(String uriKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in interfaceorg.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
-
-