View Javadoc

1   /*
2    * EDI-Knight Integration and Transformation Platform
3    * Copyright (C) 2006-2007 Holger Joest <hjoest@users.sourceforge.net>
4    *
5    * This program is free software; you can redistribute it and/or modify
6    * it under the terms of the GNU General Public License as published by
7    * the Free Software Foundation; either version 2 of the License, or
8    * (at your option) any later version.
9    *
10   * This program is distributed in the hope that it will be useful,
11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   * GNU General Public License for more details.
14   *
15   * You should have received a copy of the GNU General Public License
16   * along with this program; if not, write to the Free Software
17   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18   */
19  
20  package net.sf.ediknight.codec.edifact.parser;
21  
22  import net.sf.ediknight.edi.SyntaxHandler;
23  
24  
25  /***
26   * @author Holger Joest
27   */
28  public final class DummySyntaxHandler
29  implements SyntaxHandler {
30  
31      /***
32       * Start a segment group.
33       *
34       * @param segmentGroupId the segment group identifier
35       */
36      public void startSegmentGroup(String segmentGroupId) {
37      }
38  
39  
40      /***
41       * End a segment group.
42       *
43       * @param segmentGroupId the segment group identifier
44       */
45      public void endSegmentGroup(String segmentGroupId) {
46      }
47  
48  
49      /***
50       * {@inheritDoc}
51       * @see net.sf.ediknight.edi.SyntaxHandler#nextSegment(java.lang.String)
52       */
53      public void nextSegment(String segmentId) {
54      }
55  
56  
57      /***
58       * {@inheritDoc}
59       * @see net.sf.ediknight.edi.SyntaxHandler#nextCompositeElement()
60       */
61      public void nextCompositeElement() {
62      }
63  
64  
65      /***
66       * {@inheritDoc}
67       * @see net.sf.ediknight.edi.SyntaxHandler#nextSimpleElement()
68       */
69      public void nextSimpleElement() {
70      }
71  
72  
73      /***
74       * {@inheritDoc}
75       * @see net.sf.ediknight.edi.SyntaxHandler#finish()
76       */
77      public void finish() {
78      }
79  
80  
81      /***
82       * {@inheritDoc}
83       * @see net.sf.ediknight.edi.SyntaxHandler#characters(java.lang.String)
84       */
85      public void characters(String value) {
86      }
87  
88  }
89