cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/matching Matcher.java
Date Mon, 12 Aug 2002 07:50:54 GMT
cziegeler    2002/08/12 00:50:54

  Modified:    src/java/org/apache/cocoon/samples/parentcm Time.java
               src/java/org/apache/cocoon/reading Reader.java
               src/java/org/apache/cocoon/components/jsp JSPEngine.java
               src/java/org/apache/cocoon/components/language/generator
                        ProgramGenerator.java
               src/java/org/apache/cocoon/components/language/markup
                        MarkupLanguage.java
               src/java/org/apache/cocoon/components/sax
                        XMLDeserializer.java XMLSerializer.java
               src/java/org/apache/cocoon/components/notification
                        NotifyingBuilder.java
               src/java/org/apache/cocoon/serialization Serializer.java
               src/java/org/apache/cocoon/transformation Transformer.java
               src/java/org/apache/cocoon/components/flow Interpreter.java
                        ContinuationsManager.java
               src/java/org/apache/cocoon/components/hsqldb Server.java
               src/java/org/apache/cocoon/components/deli Deli.java
               src/java/org/apache/cocoon/acting Action.java
               src/java/org/apache/cocoon/components/modules/database
                        AutoIncrementModule.java
               src/java/org/apache/cocoon/components/xslt
                        XSLTProcessor.java
               src/java/org/apache/cocoon/components/classloader
                        ClassLoaderManager.java
               src/java/org/apache/cocoon/selection Selector.java
                        SwitchSelector.java
               src/java/org/apache/cocoon/components/browser Browser.java
               src/java/org/apache/cocoon/components/crawler
                        CocoonCrawler.java
               src/java/org/apache/cocoon/components/modules/input
                        InputModule.java
               src/java/org/apache/cocoon Processor.java
               src/java/org/apache/cocoon/components/profiler Profiler.java
               src/java/org/apache/cocoon/components/parser Parser.java
               src/java/org/apache/cocoon/components/elementprocessor
                        ElementProcessor.java ElementProcessorFactory.java
               src/java/org/apache/cocoon/components/modules/output
                        OutputModule.java
               src/java/org/apache/cocoon/generation Generator.java
               src/java/org/apache/cocoon/components/language/programming
                        ProgrammingLanguage.java
               src/java/org/apache/cocoon/matching Matcher.java
  Log:
  Changed definition of ROLE names to saver variant
  
  Revision  Changes    Path
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/samples/parentcm/Time.java
  
  Index: Time.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/samples/parentcm/Time.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Time.java	22 Feb 2002 07:03:54 -0000	1.4
  +++ Time.java	12 Aug 2002 07:50:52 -0000	1.5
  @@ -61,7 +61,7 @@
    */
   public interface Time extends Component {
   
  -    String ROLE = "org.apache.cocoon.samples.parentcm.Time";
  +    String ROLE = Time.class.getName();
   
       /**
        * Gets the current time.
  
  
  
  1.7       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/reading/Reader.java
  
  Index: Reader.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/reading/Reader.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Reader.java	27 Jun 2002 12:28:51 -0000	1.6
  +++ Reader.java	12 Aug 2002 07:50:52 -0000	1.7
  @@ -65,7 +65,7 @@
    */
   public interface Reader extends SitemapModelComponent, SitemapOutputComponent {
   
  -    String ROLE = "org.apache.cocoon.reading.Reader";
  +    String ROLE = Reader.class.getName();
   
       /**
        * Generate the response.
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/jsp/JSPEngine.java
  
  Index: JSPEngine.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/jsp/JSPEngine.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JSPEngine.java	22 Feb 2002 07:00:07 -0000	1.5
  +++ JSPEngine.java	12 Aug 2002 07:50:52 -0000	1.6
  @@ -67,7 +67,7 @@
    */
   public interface JSPEngine extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.jsp.JSPEngine";
  +    String ROLE = JSPEngine.class.getName();
   
       /**
       * execute the JSP and return the output
  
  
  
  1.8       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/generator/ProgramGenerator.java
  
  Index: ProgramGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/generator/ProgramGenerator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ProgramGenerator.java	22 Feb 2002 07:00:07 -0000	1.7
  +++ ProgramGenerator.java	12 Aug 2002 07:50:52 -0000	1.8
  @@ -64,7 +64,7 @@
    */
   public interface ProgramGenerator extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.language.generator.ProgramGenerator";
  +    String ROLE = ProgramGenerator.class.getName();
   
       /**
        * Load a program built from an XML document written in a
  
  
  
  1.7       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/MarkupLanguage.java
  
  Index: MarkupLanguage.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/MarkupLanguage.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- MarkupLanguage.java	29 Apr 2002 12:53:17 -0000	1.6
  +++ MarkupLanguage.java	12 Aug 2002 07:50:52 -0000	1.7
  @@ -65,7 +65,7 @@
    */
   public interface MarkupLanguage extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.language.markup.MarkupLanguage";
  +    String ROLE = MarkupLanguage.class.getName();
       /**
       * Return the input document's encoding or <code>null</code> if it is the
       * platform's default encoding.
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLDeserializer.java
  
  Index: XMLDeserializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLDeserializer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLDeserializer.java	22 Feb 2002 07:00:12 -0000	1.5
  +++ XMLDeserializer.java	12 Aug 2002 07:50:52 -0000	1.6
  @@ -70,7 +70,7 @@
    */
   public interface XMLDeserializer extends XMLProducer, Component {
   
  -    String ROLE = "org.apache.cocoon.components.sax.XMLDeserializer";
  +    String ROLE = XMLDeserializer.class.getName();
   
       /**
        * Deserialize the xml data and stream it.
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLSerializer.java
  
  Index: XMLSerializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/sax/XMLSerializer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLSerializer.java	22 Feb 2002 07:00:12 -0000	1.5
  +++ XMLSerializer.java	12 Aug 2002 07:50:52 -0000	1.6
  @@ -65,7 +65,7 @@
    */
   public interface XMLSerializer extends XMLConsumer, Component {
   
  -    String ROLE = "org.apache.cocoon.components.sax.XMLSerializer";
  +    String ROLE = XMLSerializer.class.getName();
       /**
        * Get the serialized xml data
        *
  
  
  
  1.7       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/notification/NotifyingBuilder.java
  
  Index: NotifyingBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/notification/NotifyingBuilder.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NotifyingBuilder.java	15 Jul 2002 14:52:39 -0000	1.6
  +++ NotifyingBuilder.java	12 Aug 2002 07:50:52 -0000	1.7
  @@ -66,7 +66,7 @@
     /**
     * The role implemented by a <code>NotifyingBuilder</code>.
     */
  -  String ROLE = "org.apache.cocoon.components.notification.NotifyingBuilder";
  +  String ROLE = NotifyingBuilder.class.getName();
   
     /** Builds a Notifying object (SimpleNotifyingObject in this case)
      *  that tries to explain what the Object o can reveal.
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/serialization/Serializer.java
  
  Index: Serializer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/serialization/Serializer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Serializer.java	22 Feb 2002 07:03:55 -0000	1.4
  +++ Serializer.java	12 Aug 2002 07:50:52 -0000	1.5
  @@ -61,5 +61,5 @@
    */
   public interface Serializer extends XMLConsumer, SitemapOutputComponent {
   
  -    String ROLE = "org.apache.cocoon.serialization.Serializer";
  +    String ROLE = Serializer.class.getName();
   }
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/transformation/Transformer.java
  
  Index: Transformer.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/transformation/Transformer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Transformer.java	22 Feb 2002 07:03:56 -0000	1.4
  +++ Transformer.java	12 Aug 2002 07:50:52 -0000	1.5
  @@ -61,6 +61,6 @@
    */
   public interface Transformer extends XMLPipe, SitemapModelComponent {
   
  -    String ROLE = "org.apache.cocoon.transformation.Transformer";
  +    String ROLE = Transformer.class.getName();
   
   }
  
  
  
  1.4       +1 -1      xml-cocoon2/src/java/org/apache/cocoon/components/flow/Interpreter.java
  
  Index: Interpreter.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/Interpreter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Interpreter.java	2 Jul 2002 08:32:07 -0000	1.3
  +++ Interpreter.java	12 Aug 2002 07:50:52 -0000	1.4
  @@ -136,7 +136,7 @@
       }
     }
   
  -  public static String ROLE = "org.apache.cocoon.components.flow.Interpreter";
  +  public static String ROLE = Interpreter.class.getName();
   
     /**
      * Load a script given its location.
  
  
  
  1.3       +1 -1      xml-cocoon2/src/java/org/apache/cocoon/components/flow/ContinuationsManager.java
  
  Index: ContinuationsManager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/flow/ContinuationsManager.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ContinuationsManager.java	2 Jul 2002 08:32:07 -0000	1.2
  +++ ContinuationsManager.java	12 Aug 2002 07:50:52 -0000	1.3
  @@ -69,7 +69,7 @@
    */
   public interface ContinuationsManager
   {
  -  public final String ROLE = "org.apache.cocoon.components.flow.ContinuationsManager";
  +  public final String ROLE = ContinuationsManager.class.getName();
   
     /**
      * Create a <code>WebContinuation</code> object given a native
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/hsqldb/Server.java
  
  Index: Server.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/hsqldb/Server.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Server.java	22 Feb 2002 07:00:07 -0000	1.5
  +++ Server.java	12 Aug 2002 07:50:52 -0000	1.6
  @@ -58,5 +58,5 @@
    * @version CVS $Id$
    */
   public interface Server extends Component {
  -    String ROLE = "org.apache.cocoon.components.hsqldb.Server";
  +    String ROLE = Server.class.getName();
   }
  
  
  
  1.8       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/deli/Deli.java
  
  Index: Deli.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/deli/Deli.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Deli.java	22 Feb 2002 07:00:07 -0000	1.7
  +++ Deli.java	12 Aug 2002 07:50:53 -0000	1.8
  @@ -65,7 +65,7 @@
   
   public interface Deli extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.deli.Deli";
  +    String ROLE = Deli.class.getName();
   
       /**
        * Convert a profile stored as a vector of profile attributes
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/acting/Action.java
  
  Index: Action.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/acting/Action.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Action.java	22 Feb 2002 06:59:26 -0000	1.5
  +++ Action.java	12 Aug 2002 07:50:53 -0000	1.6
  @@ -64,7 +64,7 @@
    */
   public interface Action extends Component {
   
  -    String ROLE = "org.apache.cocoon.acting.Action";
  +    String ROLE = Action.class.getName();
   
       /**
        * Controls the processing against some values of the
  
  
  
  1.3       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/modules/database/AutoIncrementModule.java
  
  Index: AutoIncrementModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/database/AutoIncrementModule.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AutoIncrementModule.java	28 May 2002 13:41:28 -0000	1.2
  +++ AutoIncrementModule.java	12 Aug 2002 07:50:53 -0000	1.3
  @@ -68,7 +68,7 @@
    * */
   public interface AutoIncrementModule extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.modules.database.AutoIncrementModule";
  +    String ROLE = AutoIncrementModule.class.getName();
   
   
       /**
  
  
  
  1.9       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/xslt/XSLTProcessor.java
  
  Index: XSLTProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/xslt/XSLTProcessor.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XSLTProcessor.java	29 Apr 2002 10:52:52 -0000	1.8
  +++ XSLTProcessor.java	12 Aug 2002 07:50:53 -0000	1.9
  @@ -73,7 +73,7 @@
     /**
      * The role implemented by an <code>XSLTProcessor</code>.
      */
  -  String ROLE = "org.apache.cocoon.components.xslt.XSLTProcessor";
  +  String ROLE = XSLTProcessor.class.getName();
   
     /**
      * The default factory identifier. (simply used as a pointer, the actual
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/classloader/ClassLoaderManager.java
  
  Index: ClassLoaderManager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/classloader/ClassLoaderManager.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ClassLoaderManager.java	22 Feb 2002 07:00:06 -0000	1.5
  +++ ClassLoaderManager.java	12 Aug 2002 07:50:53 -0000	1.6
  @@ -66,7 +66,7 @@
    */
   public interface ClassLoaderManager extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.classloader.ClassLoaderManager";
  +    String ROLE = ClassLoaderManager.class.getName();
   
       /**
       * Add a directory to the proxied class loader
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/selection/Selector.java
  
  Index: Selector.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/selection/Selector.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Selector.java	22 Feb 2002 07:03:54 -0000	1.4
  +++ Selector.java	12 Aug 2002 07:50:53 -0000	1.5
  @@ -63,7 +63,7 @@
    */
   public interface Selector extends Component {
   
  -    String ROLE = "org.apache.cocoon.selection.Selector";
  +    String ROLE = Selector.class.getName();
       /**
        * Selectors test pattern against some objects in a <code>Map</code>
        * model and signals success with the returned boolean value
  
  
  
  1.2       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/selection/SwitchSelector.java
  
  Index: SwitchSelector.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/selection/SwitchSelector.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SwitchSelector.java	17 Apr 2002 21:50:46 -0000	1.1
  +++ SwitchSelector.java	12 Aug 2002 07:50:53 -0000	1.2
  @@ -119,7 +119,7 @@
    */
   public interface SwitchSelector extends Selector, ThreadSafe {
   
  -    String ROLE = "org.apache.cocoon.selection.SwitchSelector";
  +    String ROLE = SwitchSelector.class.getName();
   
       /**
        * Method to create a selector context.
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/browser/Browser.java
  
  Index: Browser.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/browser/Browser.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Browser.java	22 Feb 2002 07:00:06 -0000	1.5
  +++ Browser.java	12 Aug 2002 07:50:53 -0000	1.6
  @@ -62,7 +62,7 @@
    */
   public interface Browser extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.browser.Browser";
  +    String ROLE = Browser.class.getName();
       /**
        * <code>getMedia</code> returns a media type based on the user
        * agent or on the Accept: header. This is used later by the XSLT
  
  
  
  1.6       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/crawler/CocoonCrawler.java
  
  Index: CocoonCrawler.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/crawler/CocoonCrawler.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CocoonCrawler.java	22 Feb 2002 07:00:06 -0000	1.5
  +++ CocoonCrawler.java	12 Aug 2002 07:50:53 -0000	1.6
  @@ -70,7 +70,7 @@
        *
        * @since
        */
  -    String ROLE = "org.apache.cocoon.components.crawler.CocoonCrawler";
  +    String ROLE = CocoonCrawler.class.getName();
   
   
       /**
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/InputModule.java
  
  Index: InputModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/InputModule.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InputModule.java	7 Jun 2002 08:50:14 -0000	1.4
  +++ InputModule.java	12 Aug 2002 07:50:53 -0000	1.5
  @@ -69,7 +69,7 @@
    */
   public interface InputModule extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.modules.input.InputModule";
  +    String ROLE = InputModule.class.getName();
   
   
       /**
  
  
  
  1.10      +2 -2      xml-cocoon2/src/java/org/apache/cocoon/Processor.java
  
  Index: Processor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/Processor.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Processor.java	4 Jul 2002 11:46:05 -0000	1.9
  +++ Processor.java	12 Aug 2002 07:50:53 -0000	1.10
  @@ -64,7 +64,7 @@
    */
   public interface Processor extends Component {
   
  -    String ROLE = "org.apache.cocoon.Processor";
  +    String ROLE = Processor.class.getName();
   
       /**
        * Process the given <code>Environment</code> producing the output.
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/profiler/Profiler.java
  
  Index: Profiler.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/profiler/Profiler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Profiler.java	22 Feb 2002 07:00:11 -0000	1.4
  +++ Profiler.java	12 Aug 2002 07:50:53 -0000	1.5
  @@ -62,7 +62,7 @@
    */
   public interface Profiler extends Component
   {
  -    String ROLE = "org.apache.cocoon.components.profiler.Profiler";
  +    String ROLE = Profiler.class.getName();
   
       void clearResults();
       void clearResult(Object key);
  
  
  
  1.7       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/parser/Parser.java
  
  Index: Parser.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/parser/Parser.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Parser.java	22 Feb 2002 07:00:10 -0000	1.6
  +++ Parser.java	12 Aug 2002 07:50:53 -0000	1.7
  @@ -71,7 +71,7 @@
    */
   public interface Parser extends Component, XMLProducer, DOMFactory {
   
  -    String ROLE = "org.apache.cocoon.components.parser.Parser";
  +    String ROLE = Parser.class.getName();
   
       void setContentHandler(ContentHandler contentHandler);
   
  
  
  
  1.2       +1 -1      xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessor.java
  
  Index: ElementProcessor.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ElementProcessor.java	6 Mar 2002 16:58:01 -0000	1.1
  +++ ElementProcessor.java	12 Aug 2002 07:50:53 -0000	1.2
  @@ -83,7 +83,7 @@
                       extends org.apache.avalon.framework.component.Component
   {
   
  -    String ROLE = "org.apache.cocoon.components.elementprocessor.ElementProcessor";
  +    String ROLE = ElementProcessor.class.getName();
       
       /**
        * The implementation should walk the array of attributes and
  
  
  
  1.2       +1 -1      xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessorFactory.java
  
  Index: ElementProcessorFactory.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/elementprocessor/ElementProcessorFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ElementProcessorFactory.java	6 Mar 2002 16:58:01 -0000	1.1
  +++ ElementProcessorFactory.java	12 Aug 2002 07:50:53 -0000	1.2
  @@ -69,7 +69,7 @@
                       extends org.apache.avalon.framework.component.Component
   {
   
  -    String ROLE = "org.apache.cocoon.components.elementprocessor.ElementProcessorFactory";
  +    String ROLE = ElementProcessorFactory.class.getName();
   
       /**
        * Given an XML element name, create and return an appropriate
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/modules/output/OutputModule.java
  
  Index: OutputModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/output/OutputModule.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- OutputModule.java	2 Aug 2002 03:16:04 -0000	1.4
  +++ OutputModule.java	12 Aug 2002 07:50:54 -0000	1.5
  @@ -67,7 +67,7 @@
    */
   public interface OutputModule extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.modules.output.OutputModule";
  +    String ROLE = OutputModule.class.getName();
   
       /**
        * communicate an attribute value to further processing logic.
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/generation/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/generation/Generator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Generator.java	22 Feb 2002 07:03:51 -0000	1.4
  +++ Generator.java	12 Aug 2002 07:50:54 -0000	1.5
  @@ -65,7 +65,7 @@
    */
   public interface Generator extends XMLProducer, SitemapModelComponent {
   
  -    String ROLE = "org.apache.cocoon.generation.Generator";
  +    String ROLE = Generator.class.getName();
   
       void generate()
       throws IOException, SAXException, ProcessingException;
  
  
  
  1.8       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/ProgrammingLanguage.java
  
  Index: ProgrammingLanguage.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/programming/ProgrammingLanguage.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ProgrammingLanguage.java	29 Mar 2002 20:32:01 -0000	1.7
  +++ ProgrammingLanguage.java	12 Aug 2002 07:50:54 -0000	1.8
  @@ -65,7 +65,7 @@
    */
   public interface ProgrammingLanguage extends Component {
   
  -    String ROLE = "org.apache.cocoon.components.language.programming.ProgrammingLanguage";
  +    String ROLE = ProgrammingLanguage.class.getName();
   
       /**
        * Return the programming language's source file extension
  
  
  
  1.5       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/matching/Matcher.java
  
  Index: Matcher.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/matching/Matcher.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Matcher.java	22 Feb 2002 07:03:52 -0000	1.4
  +++ Matcher.java	12 Aug 2002 07:50:54 -0000	1.5
  @@ -63,7 +63,7 @@
    */
   public interface Matcher extends Component {
   
  -    String ROLE = "org.apache.cocoon.matching.Matcher";
  +    String ROLE = Matcher.class.getName();
   
       /**
        * Matches the pattern against some <code>Request</code> values
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message