org.writersforge.catalan.process.workers.xml
Class XmlTagCommand

java.lang.Object
  extended byorg.writersforge.catalan.process.workers.BaseMetadataHolder
      extended byorg.writersforge.catalan.process.commands.BaseCommand
          extended byorg.writersforge.catalan.process.workers.xml.BaseQueryCommand
              extended byorg.writersforge.catalan.process.workers.xml.XmlTagCommand
All Implemented Interfaces:
ICommand, IMetadataHolder

public class XmlTagCommand
extends BaseQueryCommand

Implementation of "tag" command.

Author:
jsheets

Constructor Summary
XmlTagCommand()
          Creates a new instance of XmlTagCommand.
 
Method Summary
protected  void processXmlNode(org.writersforge.bellows.Datum root, java.util.List output, XmlCommonProperties props)
          Runs command on a single node of XML content.
 
Methods inherited from class org.writersforge.catalan.process.workers.xml.BaseQueryCommand
getDestinationNodes, getQueryNodes, run
 
Methods inherited from class org.writersforge.catalan.process.workers.BaseMetadataHolder
getMetadata, setOptionalProperties, setRequiredProperties, validateProperties, validateType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.writersforge.catalan.process.workers.IMetadataHolder
getMetadata, validateProperties, validateType
 

Constructor Detail

XmlTagCommand

public XmlTagCommand()
              throws MetadataException
Creates a new instance of XmlTagCommand.

Throws:
MetadataException - if unable to initialize metadata
Method Detail

processXmlNode

protected void processXmlNode(org.writersforge.bellows.Datum root,
                              java.util.List output,
                              XmlCommonProperties props)
Runs command on a single node of XML content. All content to be written back to the queue should be added to the output List.

Specified by:
processXmlNode in class BaseQueryCommand
Parameters:
root - xml root node
output - destination list
props - runtime properties