View Javadoc

1   package org.apache.maven.vsslib;
2   
3   /*
4    * ====================================================================
5    * Copyright 2001-2004 The Apache Software Foundation.
6    *
7    * Licensed under the Apache License, Version 2.0 (the "License"); you may not
8    * use this file except in compliance with the License. You may obtain a copy of
9    * the License at
10   *
11   * http://www.apache.org/licenses/LICENSE-2.0
12   *
13   * Unless required by applicable law or agreed to in writing, software
14   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16   * License for the specific language governing permissions and limitations under
17   * the License.
18   * ===================================================================
19   */
20  
21  import org.apache.maven.changelog.ChangeLogGenerator;
22  import org.apache.maven.changelog.ChangeLogParser;
23  
24  
25  /**
26   * Provides VSS specific instances of the ChangeLogGenerator and ChangeLogParser
27   * interfaces.
28   *
29   * @author Freddy Mallet
30   */
31  public class VssChangeLogFactory
32      implements org.apache.maven.changelog.ChangeLogFactory
33  {
34      /**
35       * Default no-arg constructor.
36       */
37      public VssChangeLogFactory()
38      {
39      }
40  
41      /**
42       * Create a VSS specific ChangeLogGenerator.
43       *
44       * @return a VSS specific ChangeLogGenerator.
45       */
46      public ChangeLogGenerator createGenerator()
47      {
48          return new VssChangeLogGenerator();
49      }
50  
51      /**
52       * Create a VSS specific ChangeLogParser.
53       *
54       * @return a VSS specific ChangeLogParser.
55       */
56      public ChangeLogParser createParser()
57      {
58          return new VssChangeLogParser();
59      }
60  }