vgritsenko 2003/10/23 18:10:56
Modified: src/java/org/apache/cocoon/components/language/markup/xsp
XSLTExtension.java
src/java/org/apache/cocoon/components/language/markup/xsp
XSLTExtension.java
Log:
Restore methods required by python xsp
Revision Changes Path
1.3 +8 -5
cocoon-2.2/src/java/org/apache/cocoon/components/language/markup/xsp/XSLTExtension.java
Index: XSLTExtension.java
===================================================================
RCS file:
/home/cvs/cocoon-2.2/src/java/org/apache/cocoon/components/language/markup/xsp/XSLTExtension.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XSLTExtension.java 7 Oct 2003 15:13:20 -0000 1.2
+++ XSLTExtension.java 24 Oct 2003 01:10:56 -0000 1.3
@@ -156,6 +156,9 @@
* Counts amount of spaces in the input line from the beginning
* to the first new line symbol and returns a string with this
* amount of spaces.
+ *
+ * Used by the Python XSP core logicsheet.
+ */
public String prefix(String string) {
char chr[] = string.toCharArray();
int i;
@@ -185,12 +188,14 @@
}
return buffer.toString();
}
- */
/**
* Counts amount of spaces in the input line from the end
* to the last new line symbol and returns a string with this
* amount of spaces.
+ *
+ * Used by the Python XSP core logicsheet.
+ */
public String suffix(String string) {
char chr[] = string.toCharArray();
@@ -210,6 +215,4 @@
}
return buffer.toString();
}
- */
-
- }
+}
1.3 +8 -5
cocoon-2.1/src/java/org/apache/cocoon/components/language/markup/xsp/XSLTExtension.java
Index: XSLTExtension.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/language/markup/xsp/XSLTExtension.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XSLTExtension.java 7 Oct 2003 15:13:20 -0000 1.2
+++ XSLTExtension.java 24 Oct 2003 01:10:56 -0000 1.3
@@ -156,6 +156,9 @@
* Counts amount of spaces in the input line from the beginning
* to the first new line symbol and returns a string with this
* amount of spaces.
+ *
+ * Used by the Python XSP core logicsheet.
+ */
public String prefix(String string) {
char chr[] = string.toCharArray();
int i;
@@ -185,12 +188,14 @@
}
return buffer.toString();
}
- */
/**
* Counts amount of spaces in the input line from the end
* to the last new line symbol and returns a string with this
* amount of spaces.
+ *
+ * Used by the Python XSP core logicsheet.
+ */
public String suffix(String string) {
char chr[] = string.toCharArray();
@@ -210,6 +215,4 @@
}
return buffer.toString();
}
- */
-
- }
+}