org.xngr
Interface NodeService

All Superinterfaces:
Service

public interface NodeService
extends Service

The representation of a service associated with a DOM node.

Version:
$Revision: 90 $, $Date: 2009-05-05 23:06:29 +0100 (Tue, 05 May 2009) $
Author:
Edwin Dankert

Method Summary
 java.util.List<NodeMarker> getMarkers()
           
 void open(org.w3c.dom.Node node, java.util.Map<java.lang.String,java.lang.String> arguments)
          Opens a process using the object provided.
 
Methods inherited from interface org.xngr.Service
close, getDescription, getIcon, getIdentifier, getName
 

Method Detail

getMarkers

java.util.List<NodeMarker> getMarkers()
Returns:
a list of markers the service is associated with. Null or an empty list indicate no specific markers have been associated with this service and the service is by default associated with all Nodes. When no document markers have been specified, the node-markers will not be evaluated.

open

void open(org.w3c.dom.Node node,
          java.util.Map<java.lang.String,java.lang.String> arguments)
Opens a process using the object provided. Only objects which have been filtered using the filtering methods are passed onto this method. It is recommended to 'open' all services initially in a new thread.

Parameters:
object - the object to be opened.
arguments - a list of arguments name/value pairs which can provide extra information for the service.


Copyright © 2002-2009 Edwin Dankert. All Rights Reserved.