net.sf.dropboxmq.workflow.adapters
Class CollectionAdapter
java.lang.Object
net.sf.dropboxmq.workflow.adapters.CollectionAdapter
- All Implemented Interfaces:
- EventAdapter
public class CollectionAdapter
- extends Object
- implements EventAdapter
Created: 08 Nov 2010
- Version:
- $Revision$, $Date$
- Author:
- Dwayne Schultz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT
public static final String CONTENT
- See Also:
- Constant Field Values
HEADER
public static final String HEADER
- See Also:
- Constant Field Values
CollectionAdapter
public CollectionAdapter()
addAdapter
public void addAdapter(String protocol,
EventAdapter adapter)
processResults
public Collection<EventPackage> processResults(Node results)
- Specified by:
processResults
in interface EventAdapter
renderProperties
public void renderProperties(Map<String,String> properties,
String protocol,
Element eventElement)
- Specified by:
renderProperties
in interface EventAdapter
renderSimpleProperty
public static void renderSimpleProperty(String name,
String value,
String elementName,
Element eventElement)
findSingleChild
public static Element findSingleChild(String name,
Node results)
close
public void close()
- Specified by:
close
in interface EventAdapter