at.ac.tuwien.infosys.sm4all.copal.api.event.xml
Class CurrentActionName

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.XMLElement<T>
      extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.VirtualElement<String>
          extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.CurrentActionName

public class CurrentActionName
extends VirtualElement<String>

The virtual COPAL element which returns the name of the current action from the XML DOM document.

Author:
sanjin

Field Summary
static CurrentActionName INSTANCE
          Singleton instance.
 
Method Summary
 String getXPath()
           
 String retrieve(Document document)
          Retrieve the value of this element from specified Document.
 
Methods inherited from class at.ac.tuwien.infosys.sm4all.copal.api.event.xml.XMLElement
getExpression, getQualifiedName, getXMLType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final CurrentActionName INSTANCE
Singleton instance.

Method Detail

getXPath

public String getXPath()
Specified by:
getXPath in class XMLElement<String>
Returns:
the XPath which can be used to retrieve the value of this COPAL element from a Document.

retrieve

public String retrieve(Document document)
                throws FailedUnmarshallingException
Description copied from class: XMLElement
Retrieve the value of this element from specified Document.

Specified by:
retrieve in class XMLElement<String>
Parameters:
document - the Document.
Returns:
the value of this property.
Throws:
FailedUnmarshallingException - if retrieving was not successful.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.