KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > parser > DefaultPathHandler


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

18 package org.apache.batik.parser;
19
20 /**
21  * The class provides an adapter for PathHandler.
22  *
23  * @author <a HREF="mailto:stephane@hillion.org">Stephane Hillion</a>
24  * @version $Id: DefaultPathHandler.java,v 1.3 2004/08/18 07:14:46 vhardy Exp $
25  */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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