com.jaxfront.core.rule
Class JavaAction
java.lang.Object
com.jaxfront.core.rule.AbstractAction
com.jaxfront.core.rule.JavaAction
- All Implemented Interfaces:
- IAction, java.io.Serializable, java.lang.Cloneable
public class JavaAction
- extends AbstractAction
Defines an action for any property change on a JAXFront model (type).
- See Also:
- Serialized Form
| Methods inherited from class com.jaxfront.core.rule.AbstractAction |
checkAction, fireChange, getDOM, getExpression, getInverseAction, getSource, getTargetTypes, getTargetXPath, getUserAction, isInversable, isUsingUserAction, perform, perform, perform, performInverse, setFireChange, setInverseAction, setSource, setTargetXPath, setUseActionTargetAsBase |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IMPL_CLASS_NAME
public static final java.lang.String IMPL_CLASS_NAME
- See Also:
- Constant Field Values
IMPL_PARAM
public static final java.lang.String IMPL_PARAM
- See Also:
- Constant Field Values
IMPL_TYPE
public static final java.lang.String IMPL_TYPE
- See Also:
- Constant Field Values
IMPL_VALUE
public static final java.lang.String IMPL_VALUE
- See Also:
- Constant Field Values
JavaAction
public JavaAction(Document dom,
Type source,
Action userAction)
JavaAction
public JavaAction(Document DOM,
Type sourceType,
java.lang.String xpath,
Type xuiType,
java.lang.String className)
- Creates an model action based on a document, a source type and an xpath.
- Parameters:
DOM - JAXFront documentsourceType - the source type of this actionxpath - the target xpathxuiType - xui definition for this actionclassName - user defined action implementation class name
check
public void check(Document dom,
Type target)
throws RuleInvocationException
- Specified by:
check in class AbstractAction
- Throws:
RuleInvocationException
clone
public java.lang.Object clone(Type newSource)
- Overrides:
clone in class AbstractAction
createActionDefinition
public static ActionDefinition createActionDefinition(Type aActionDef,
java.lang.ClassLoader cl)
createActionObject
public static java.lang.Object createActionObject(ActionDefinition aActionDef,
java.lang.ClassLoader cl)
getActionType
public int getActionType()
- Specified by:
getActionType in interface IAction- Overrides:
getActionType in class AbstractAction
- Returns:
- the action type 0 = Abstract Action, 1 = ModelAction, 2 = Formula Action ,3 = UI Action, 4 = Java Action ;
isEmpty
public boolean isEmpty()
- Overrides:
isEmpty in class AbstractAction
release
public void release()
- Specified by:
release in interface IAction- Overrides:
release in class AbstractAction
- See Also:
AbstractAction.release()
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractAction