Class SetNamespacePrefix
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.namespace.SetNamespacePrefix
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class SetNamespacePrefix extends Object implements org.apache.commons.chain.Command
Sets a namespace prefix
-
-
Constructor Summary
Constructors Constructor Description SetNamespacePrefix()
-
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
-
-