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 * This class provides an adapter for TransformListHandler.
23 *
24 * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
25 * @version $Id: DefaultTransformListHandler.java 1733416 2016-03-03 07:07:13Z gadams $
26 */
27 public class DefaultTransformListHandler implements TransformListHandler {
28
29 /**
30 * The only instance of this class.
31 */
32 public static final TransformListHandler INSTANCE
33 = new DefaultTransformListHandler();
34
35 /**
36 * This class does not need to be instantiated.
37 */
38 protected DefaultTransformListHandler() {
39 }
40
41 /**
42 * Implements {@link TransformListHandler#startTransformList()}.
43 */
44 public void startTransformList() throws ParseException {
45 }
46
47 /**
48 * Implements {@link
49 * TransformListHandler#matrix(float,float,float,float,float,float)}.
50 */
51 public void matrix(float a, float b, float c, float d, float e, float f)
52 throws ParseException {
53 }
54
55 /**
56 * Implements {@link TransformListHandler#rotate(float)}.
57 */
58 public void rotate(float theta) throws ParseException {
59 }
60
61 /**
62 * Implements {@link TransformListHandler#rotate(float,float,float)}.
63 */
64 public void rotate(float theta, float cx, float cy) throws ParseException {
65 }
66
67 /**
68 * Implements {@link TransformListHandler#translate(float)}.
69 */
70 public void translate(float tx) throws ParseException {
71 }
72
73 /**
74 * Implements {@link TransformListHandler#translate(float,float)}.
75 */
76 public void translate(float tx, float ty) throws ParseException {
77 }
78
79 /**
80 * Implements {@link TransformListHandler#scale(float)}.
81 */
82 public void scale(float sx) throws ParseException {
83 }
84
85 /**
86 * Implements {@link TransformListHandler#scale(float,float)}.
87 */
88 public void scale(float sx, float sy) throws ParseException {
89 }
90
91 /**
92 * Implements {@link TransformListHandler#skewX(float)}.
93 */
94 public void skewX(float skx) throws ParseException {
95 }
96
97 /**
98 * Implements {@link TransformListHandler#skewY(float)}.
99 */
100 public void skewY(float sky) throws ParseException {
101 }
102
103 /**
104 * Implements {@link TransformListHandler#endTransformList()}.
105 */
106 public void endTransformList() throws ParseException {
107 }
108 }
109