1 /*
2
3    Licensed to the Apache Software Foundation (ASF) under one or more
4    contributor license agreements.  See the NOTICE file distributed with
5    this work for additional information regarding copyright ownership.
6    The ASF licenses this file to You under the Apache License, Version 2.0
7    (the "License"); you may not use this file except in compliance with
8    the License.  You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17
18  */

19 package org.apache.batik.parser;
20
21 /**
22  * The class provides an adapter for PathHandler.
23  *
24  * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
25  * @version $Id: DefaultPathHandler.java 1733416 2016-03-03 07:07:13Z gadams $
26  */

27 public class DefaultPathHandler implements PathHandler {
28
29     /**
30      * The only instance of this class.
31      */

32     public static final PathHandler INSTANCE
33         = new DefaultPathHandler();
34
35     /**
36      * This class does not need to be instantiated.
37      */

38     protected DefaultPathHandler() {
39     }
40
41     /**
42      * Implements {@link PathHandler#startPath()}.
43      */

44     public void startPath() throws ParseException {
45     }
46
47     /**
48      * Implements {@link PathHandler#endPath()}.
49      */

50     public void endPath() throws ParseException {
51     }
52
53     /**
54      * Implements {@link PathHandler#movetoRel(float,float)}.
55      */

56     public void movetoRel(float x, float y) throws ParseException {
57     }
58
59     /**
60      * Implements {@link PathHandler#movetoAbs(float,float)}.
61      */

62     public void movetoAbs(float x, float y) throws ParseException {
63     }
64
65     /**
66      * Implements {@link PathHandler#closePath()}.
67      */

68     public void closePath() throws ParseException {
69     }
70
71     /**
72      * Implements {@link PathHandler#linetoRel(float,float)}.
73      */

74     public void linetoRel(float x, float y) throws ParseException {
75     }
76
77     /**
78      * Implements {@link PathHandler#linetoAbs(float,float)}.
79      */

80     public void linetoAbs(float x, float y) throws ParseException {
81     }
82
83     /**
84      * Implements {@link PathHandler#linetoHorizontalRel(float)}.
85      */

86     public void linetoHorizontalRel(float x) throws ParseException {
87     }
88
89     /**
90      * Implements {@link PathHandler#linetoHorizontalAbs(float)}.
91      */

92     public void linetoHorizontalAbs(float x) throws ParseException {
93     }
94
95     /**
96      * Implements {@link PathHandler#linetoVerticalRel(float)}.
97      */

98     public void linetoVerticalRel(float y) throws ParseException {
99     }
100
101     /**
102      * Implements {@link PathHandler#linetoVerticalAbs(float)}.
103      */

104     public void linetoVerticalAbs(float y) throws ParseException {
105     }
106
107     /**
108      * Implements {@link
109      * PathHandler#curvetoCubicRel(float,float,float,float,float,float)}.
110      */

111     public void curvetoCubicRel(float x1, float y1,
112                                 float x2, float y2,
113                                 float x, float y) throws ParseException {
114     }
115
116     /**
117      * Implements {@link
118      * PathHandler#curvetoCubicAbs(float,float,float,float,float,float)}.
119      */

120     public void curvetoCubicAbs(float x1, float y1,
121                                 float x2, float y2,
122                                 float x, float y) throws ParseException {
123     }
124
125     /**
126      * Implements {@link
127      * PathHandler#curvetoCubicSmoothRel(float,float,float,float)}.
128      */

129     public void curvetoCubicSmoothRel(float x2, float y2,
130                                       float x, float y) throws ParseException {
131     }
132
133     /**
134      * Implements {@link
135      * PathHandler#curvetoCubicSmoothAbs(float,float,float,float)}.
136      */

137     public void curvetoCubicSmoothAbs(float x2, float y2,
138                                       float x, float y) throws ParseException {
139     }
140
141     /**
142      * Implements {@link
143      * PathHandler#curvetoQuadraticRel(float,float,float,float)}.
144      */

145     public void curvetoQuadraticRel(float x1, float y1,
146                                     float x, float y) throws ParseException {
147     }
148
149     /**
150      * Implements {@link
151      * PathHandler#curvetoQuadraticAbs(float,float,float,float)}.
152      */

153     public void curvetoQuadraticAbs(float x1, float y1,
154                                     float x, float y) throws ParseException {
155     }
156
157     /**
158      * Implements {@link PathHandler#curvetoQuadraticSmoothRel(float,float)}.
159      */

160     public void curvetoQuadraticSmoothRel(float x, float y)
161         throws ParseException {
162     }
163
164     /**
165      * Implements {@link PathHandler#curvetoQuadraticSmoothAbs(float,float)}.
166      */

167     public void curvetoQuadraticSmoothAbs(float x, float y)
168         throws ParseException {
169     }
170
171     /**
172      * Implements {@link
173      * PathHandler#arcRel(float,float,float,boolean,boolean,float,float)}.
174      */

175     public void arcRel(float rx, float ry,
176                        float xAxisRotation,
177                        boolean largeArcFlag, boolean sweepFlag,
178                        float x, float y) throws ParseException {
179     }
180
181     /**
182      * Implements {@link
183      * PathHandler#arcAbs(float,float,float,boolean,boolean,float,float)}.
184      */

185     public void arcAbs(float rx, float ry,
186                        float xAxisRotation,
187                        boolean largeArcFlag, boolean sweepFlag,
188                        float x, float y) throws ParseException {
189     }
190 }
191