at.ac.tuwien.infosys.sm4all.copal.api.publisher.xml
Class XMLContextPublishers

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.ElementUtil
      extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.ArrayMarshaller<ContextPublisher>
          extended by at.ac.tuwien.infosys.sm4all.copal.api.publisher.xml.XMLContextPublishers
All Implemented Interfaces:
Marshaller<ContextPublisher[]>

public class XMLContextPublishers
extends ArrayMarshaller<ContextPublisher>

Command that marshalls an array of ContextPublishers into an Element.

Author:
sanjin

Constructor Summary
XMLContextPublishers(Element element)
          Creates instance of ContextPublishers marshaller which uses specified Element to marshal the ContextPublishers.
 
Method Summary
protected  void marshal(ContextPublisher publisher, Element element)
          Marshal specified object into specified Element.
 
Methods inherited from class at.ac.tuwien.infosys.sm4all.copal.api.xml.ArrayMarshaller
marshal
 
Methods inherited from class at.ac.tuwien.infosys.sm4all.copal.api.xml.ElementUtil
getChildElement, getChildElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLContextPublishers

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

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

marshal

protected void marshal(ContextPublisher publisher,
                       Element element)
Description copied from class: ArrayMarshaller
Marshal specified object into specified Element.

Specified by:
marshal in class ArrayMarshaller<ContextPublisher>
Parameters:
publisher - the object to marshal.
element - the Element into which specified object should be marshalled.


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