You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2003/12/20 15:28:34 UTC
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/source/impl PartSource.java
sylvain 2003/12/20 06:28:34
Modified: src/java/org/apache/cocoon/components/source/impl
PartSource.java
Log:
Expose the Part object (just like e.g. the FileSource exposes the File object)
Revision Changes Path
1.4 +5 -1 cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/PartSource.java
Index: PartSource.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/source/impl/PartSource.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- PartSource.java 9 Nov 2003 16:17:13 -0000 1.3
+++ PartSource.java 20 Dec 2003 14:28:34 -0000 1.4
@@ -202,4 +202,8 @@
{
return 0;
}
+
+ public Part getPart() {
+ return this.part;
+ }
}