unico 2003/11/16 06:27:40
Modified: src/java/org/apache/cocoon/components/treeprocessor
ProcessingNode.java
Log:
add role information
Revision Changes Path
1.3 +6 -7
cocoon-2.2/src/java/org/apache/cocoon/components/treeprocessor/ProcessingNode.java
Index: ProcessingNode.java
===================================================================
RCS file:
/home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/treeprocessor/ProcessingNode.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ProcessingNode.java 24 Oct 2003 20:37:56 -0000 1.2
+++ ProcessingNode.java 16 Nov 2003 14:27:40 -0000 1.3
@@ -61,13 +61,12 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a>
* @version CVS $Id$
*/
+public interface ProcessingNode {
-public interface ProcessingNode
- extends ThreadSafe
-{
+ public static final String ROLE = ProcessingNode.class.getName();
/** The key used for the <code>SourceResolver</code> in the object
model. */
- String OBJECT_SOURCE_RESOLVER = "source-resolver";
+ static final String OBJECT_SOURCE_RESOLVER = "source-resolver";
/**
* Process this node with the suppled environment information. Will
recursively
@@ -81,9 +80,9 @@
boolean invoke( Environment env, InvokeContext context ) throws
Exception;
/**
- * Get the location of this node. ?? Is this the XML locator text ??
+ * Get the location of this node.
*
- * @return
+ * @return xml locator text.
*/
String getLocation();
}