public class CustomAction extends Object
Action
class.Constructor and Description |
---|
CustomAction(String namespaceURI,
String localName,
Class<? extends Action> actionClass)
Constructor, if the namespace or local name is null or empty,
or if the implementation is not an
Action , an
IllegalArgumentException is thrown. |
Modifier and Type | Method and Description |
---|---|
Class<? extends Action> |
getActionClass()
Get this custom action's implementation.
|
String |
getLocalName()
Get the local name for this custom action.
|
String |
getNamespaceURI()
Get the namespace URI for this custom action.
|
public CustomAction(String namespaceURI, String localName, Class<? extends Action> actionClass)
Action
, an
IllegalArgumentException
is thrown.namespaceURI
- The namespace URI for this custom action.localName
- The local name for this custom action.actionClass
- The Action
subclass implementing this
custom action.public Class<? extends Action> getActionClass()
public String getLocalName()
public String getNamespaceURI()
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.