cziegeler    01/10/07 23:01:22

  Modified:    src/org/apache/cocoon Main.java
  Log:
  Changed scope to protected for subclassing
  
  Revision  Changes    Path
  1.18      +5 -5      xml-cocoon2/src/org/apache/cocoon/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/Main.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Main.java 2001/08/30 19:15:43     1.17
  +++ Main.java 2001/10/08 06:01:22     1.18
  @@ -56,7 +56,7 @@
    * Command line entry point.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.17 $ $Date: 2001/08/30 19:15:43 $
  + * @version CVS $Revision: 1.18 $ $Date: 2001/10/08 06:01:22 $
    */
   
   public class Main {
  @@ -617,7 +617,7 @@
           return tree(level - 2) + "+--";
       }
   
  -    String tree(int level) {
  +    protected String tree(int level) {
           StringBuffer buffer = new StringBuffer();
           for (int i = 0; i <= level; i++) {
               buffer.append("|  ");
  @@ -625,7 +625,7 @@
           return buffer.toString();
       }
   
  -    Collection getLinks(String deparameterizedURI, Map parameters) throws 
Exception {
  +    protected Collection getLinks(String deparameterizedURI, Map parameters) 
throws Exception {
           LinkSamplingEnvironment env = new 
LinkSamplingEnvironment(deparameterizedURI,
                     context,
                     attributes,
  @@ -635,7 +635,7 @@
           return env.getLinks();
       }
   
  -    String getPage(String deparameterizedURI, Map parameters, Map links, 
OutputStream stream) throws Exception {
  +    protected String getPage(String deparameterizedURI, Map parameters, Map 
links, OutputStream stream) throws Exception {
           FileSavingEnvironment env = new 
FileSavingEnvironment(deparameterizedURI,
                           context,
                           attributes,
  @@ -654,7 +654,7 @@
           public void write(byte b[], int off, int len) throws IOException { }
       }
   
  -    String getType(String deparameterizedURI, Map parameters) throws 
Exception {
  +    protected String getType(String deparameterizedURI, Map parameters) 
throws Exception {
           FileSavingEnvironment env = new 
FileSavingEnvironment(deparameterizedURI,
                        context,
                        attributes,
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to