at.ac.tuwien.infosys.sm4all.copal.api.processor.xml
Class XMLContextProcessor

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.xml.ElementUtil
      extended by at.ac.tuwien.infosys.sm4all.copal.api.processor.xml.XMLContextProcessor
All Implemented Interfaces:
Marshaller<ContextProcessor>

public class XMLContextProcessor
extends ElementUtil
implements Marshaller<ContextProcessor>

Command that marshalls a ContextProcessor into an Element.

Author:
sanjin

Constructor Summary
XMLContextProcessor(Element element)
          Creates instance of ContextProcessor marshaller which uses specified Element to marshal the ContextProcessor.
 
Method Summary
 void marshal(ContextProcessor processor)
          Marshalls specified ContextProcessor into specified Element.
 
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

XMLContextProcessor

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

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

marshal

public void marshal(ContextProcessor processor)
Marshalls specified ContextProcessor into specified Element.

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


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