cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/language/generator GeneratorSelector.java
Date Wed, 04 Feb 2004 14:44:34 GMT
sylvain     2004/02/04 06:44:34

  Modified:    src/java/org/apache/cocoon/components/language/generator
                        GeneratorSelector.java
  Log:
  Make some methods public to allow alternate implementations of ProgramGenerator
  
  Revision  Changes    Path
  1.4       +3 -3      cocoon-2.1/src/java/org/apache/cocoon/components/language/generator/GeneratorSelector.java
  
  Index: GeneratorSelector.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/language/generator/GeneratorSelector.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GeneratorSelector.java	24 Sep 2003 21:41:12 -0000	1.3
  +++ GeneratorSelector.java	4 Feb 2004 14:44:34 -0000	1.4
  @@ -177,7 +177,7 @@
           }
       }
   
  -    protected void addGenerator(ComponentManager newManager,
  +    public void addGenerator(ComponentManager newManager,
                                   Object hint, Program generator)
               throws Exception {
           try {
  @@ -198,7 +198,7 @@
           }
       }
   
  -    protected void removeGenerator(Object hint) {
  +    public void removeGenerator(Object hint) {
           ComponentHandler handler = (ComponentHandler) this.componentHandlers.remove(hint);
           if (handler != null) {
               handler.dispose();
  
  
  

Mime
View raw message