at.ac.tuwien.infosys.sm4all.copal.api.event.xml.publisher
Class XMLContextPublisher

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.event.xml.publisher.XMLContextPublisher
All Implemented Interfaces:
Marshaller<ContextPublisher>

public class XMLContextPublisher
extends Object
implements Marshaller<ContextPublisher>

Command that marshalls a ContextPublisher into an Element.

Author:
sanjin

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

Constructor Detail

XMLContextPublisher

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

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

marshal

public void marshal(ContextPublisher publisher)
Marshalls specified ContextPublisher into specified Element.

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


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