org.inria.ns.reflex.processor.asl
Class ElementAction
java.lang.Object
org.inria.ns.reflex.processor.core.AbstractAction
org.inria.ns.reflex.processor.asl.AbstractStepAction
org.inria.ns.reflex.processor.asl.ElementAction
- All Implemented Interfaces:
- Executable, Identifiable, Presentable, NamespaceContextFactory
- Direct Known Subclasses:
- ElementAction.NameRef, ElementAction.NamespaceRef
public abstract class ElementAction
- extends AbstractStepAction
The <asl:element> element refers to an element.
Used also to unmarshal an element definition.
- Author:
- Philippe Poulard
- See Also:
ElementDefinitionAction
| Methods inherited from class org.inria.ns.reflex.processor.core.AbstractAction |
addAction, addFallbackAction, createContext, getCanonicalPath, getFallbackAction, getLocalFallbackAction, getLogger, getNamespaceContext, getNode, getParent, recover, recover, removeFallbackAction, reorganize, run, runActions, toPrettyString, toPrettyString, toString |
ElementAction
public ElementAction(Element element,
AbstractAction parent)
throws XPathException
- Creates a new instance of
ElementAction.
- Parameters:
node - The node from which the action has been unmarshalled. Used for
namespace prefix resolution when performing XPath expressions.parent - The action depending from.
- Throws:
XPathException
unmarshal
public static AbstractAction unmarshal(AbstractAction parent,
Element element)
throws XMLException
- XML unmarshaller for
ElementAction.
- Parameters:
parent - The action depending from.element - The XML element to unmarshall.
- Returns:
- The
ElementAction created.
- Throws:
UnmarshalException - When the element and its content is not those expected.
XMLException