at.ac.tuwien.infosys.sm4all.copal.api.query.xml
Class XMLContextQueries

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<ContextQuery>
          extended by at.ac.tuwien.infosys.sm4all.copal.api.query.xml.XMLContextQueries
All Implemented Interfaces:
Marshaller<ContextQuery[]>

public class XMLContextQueries
extends ArrayMarshaller<ContextQuery>

Command that marshalls an array of ContextQuerys into an Element.

Author:
sanjin

Constructor Summary
XMLContextQueries(Element element)
          Creates instance of ContextQuerys marshaller which uses specified Element to marshal the ContextQuerys.
 
Method Summary
protected  void marshal(ContextQuery query, 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

XMLContextQueries

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

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

marshal

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

Specified by:
marshal in class ArrayMarshaller<ContextQuery>
Parameters:
query - 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.