de.danet.an.workflow.spis.aii
Interface XMLArgumentTypeProvider


public interface XMLArgumentTypeProvider

This interface can be implemented by ToolAgents that provide information about the accepted coding of arguments that describe XML data.

Note that if a tool agent implements this interface, the type returned by requestedXMLArgumentType overrides any settings in XPDL.

Version:
$Revision: 1607 $
Author:
Michael Lipp

Field Summary
static int XML_AS_JDOM
          Pass parameters as JDOM when tool is invoked.
static int XML_AS_SAX
          Pass parameters as SAXEventBuffer when tool is invoked.
static int XML_AS_W3C_DOM
          Pass parameters as W3C DOM when tool is invoked.
 
Method Summary
 int requestedXMLArgumentType()
          Return the requested type for XML arguments.
 

Field Detail

XML_AS_W3C_DOM

public static final int XML_AS_W3C_DOM
Pass parameters as W3C DOM when tool is invoked. The parameter is passed in as org.w3c.dom.DocumentFragement, containing one or more elements, to support single-rooted XML structures as well as non-single rooted structures.

See Also:
Constant Field Values

XML_AS_JDOM

public static final int XML_AS_JDOM
Pass parameters as JDOM when tool is invoked. The parameter is passed in as java.util.List, containing one or more elements, to support single-rooted XML structures as well as non-single rooted structures.

See Also:
Constant Field Values

XML_AS_SAX

public static final int XML_AS_SAX
Pass parameters as SAXEventBuffer when tool is invoked.

See Also:
Constant Field Values
Method Detail

requestedXMLArgumentType

public int requestedXMLArgumentType()
Return the requested type for XML arguments.

Returns:
one of XML_AS_W3C_DOM, XML_AS_JDOM or XML_AS_SAX