at.ac.tuwien.infosys.sm4all.copal.api.listener.xml
Class XMLContextListener

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.listener.xml.XMLContextListener
All Implemented Interfaces:
Marshaller<ContextListener>

public class XMLContextListener
extends Object
implements Marshaller<ContextListener>

Command that marshalls a ContextListener into an Element.

Author:
sanjin

Constructor Summary
XMLContextListener(Element element)
          Creates instance of ContextListener marshaller which uses specified Element to marshal the ContextListener.
 
Method Summary
 void marshal(ContextListener listener)
          Marshalls specified ContextListener into specified Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLContextListener

public XMLContextListener(Element element)
Creates instance of ContextListener marshaller which uses specified Element to marshal the ContextListener.

Parameters:
element - the Element used for marshalling.
Throws:
NullPointerException - if specified Element is null.
Method Detail

marshal

public void marshal(ContextListener listener)
Marshalls specified ContextListener into specified Element.

Specified by:
marshal in interface Marshaller<ContextListener>
Parameters:
listener - the ContextListener.
Throws:
NullPointerException - if specified ContextProcessor is null.


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