You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by eg...@apache.org on 2003/06/11 21:31:41 UTC
cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication SiteTree.java
egli 2003/06/11 12:31:41
Modified: src/java/org/apache/lenya/cms/publication SiteTree.java
Log:
Indenting fix.
Revision Changes Path
1.9 +43 -35 cocoon-lenya/src/java/org/apache/lenya/cms/publication/SiteTree.java
Index: SiteTree.java
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/SiteTree.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SiteTree.java 11 Jun 2003 17:25:08 -0000 1.8
+++ SiteTree.java 11 Jun 2003 19:31:40 -0000 1.9
@@ -45,20 +45,20 @@
public interface SiteTree {
- /**
- * Add a node.
- *
+ /**
+ * Add a node.
+ *
* @param parentid e.g. "/tutorial"
* @param id e.g. "concepts"
* @param labels
* @throws SiteTreeException
*/
void addNode(String parentid, String id, Label[] labels)
- throws SiteTreeException;
-
- /**
- * Add a node.
- *
+ throws SiteTreeException;
+
+ /**
+ * Add a node.
+ *
* @param parentid
* @param id
* @param labels
@@ -67,10 +67,15 @@
* @param link
* @throws SiteTreeException
*/
- void addNode(String parentid, String id, Label[] labels,
- String href, String suffix, boolean link)
- throws SiteTreeException;
-
+ void addNode(
+ String parentid,
+ String id,
+ Label[] labels,
+ String href,
+ String suffix,
+ boolean link)
+ throws SiteTreeException;
+
/**
* Add a node.
* Compute the parent id and the id of the node from the document-id
@@ -81,36 +86,39 @@
* @param suffix
* @param link
*/
- void addNode(String documentid, Label[] labels, String href,
- String suffix, boolean link)
- throws SiteTreeException;
+ void addNode(
+ String documentid,
+ Label[] labels,
+ String href,
+ String suffix,
+ boolean link)
+ throws SiteTreeException;
- /**
- * Add a node. This method is typically used when publishing,
- * i.e. when copying a node from the authoring tree to the live
- * tree. The existing node already has a parent node (in the
- * authoring tree). The node that is added will be a copy of
- * the original node and will be inserted at the same parentid
- * as the original node.
- *
+ /**
+ * Add a node. This method is typically used when publishing,
+ * i.e. when copying a node from the authoring tree to the live
+ * tree. The existing node already has a parent node (in the
+ * authoring tree). The node that is added will be a copy of
+ * the original node and will be inserted at the same parentid
+ * as the original node.
+ *
* @param node
* @throws SiteTreeException
*/
- void addNode(SiteTreeNode node)
- throws SiteTreeException;
-
- /**
+ void addNode(SiteTreeNode node) throws SiteTreeException;
+
+ /**
* Removes the node corresponding to the given document-id
- * from the tree, and returns it.
- *
- * @param documentId
+ * from the tree, and returns it.
+ *
+ * @param documentId
* @return
*/
- SiteTreeNode removeNode(String documentId);
+ SiteTreeNode removeNode(String documentId);
/**
- * Return the Node for a given document-id.
- *
+ * Return the Node for a given document-id.
+ *
* @param documentId
* @return
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org