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 LengthHandler
23  *
24  * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
25  * @version $Id: DefaultLengthHandler.java 1733416 2016-03-03 07:07:13Z gadams $
26  */

27 public class DefaultLengthHandler implements LengthHandler {
28     /**
29      * The only instance of this class.
30      */

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

36     protected DefaultLengthHandler() {
37     }
38
39     /**
40      * Implements {@link LengthHandler#startLength()}.
41      */

42     public void startLength() throws ParseException {
43     }
44
45     /**
46      * Implements {@link LengthHandler#lengthValue(float)}.
47      */

48     public void lengthValue(float v) throws ParseException {
49     }
50
51     /**
52      * Implements {@link LengthHandler#em()}.
53      */

54     public void em() throws ParseException {
55     }
56
57     /**
58      * Implements {@link LengthHandler#ex()}.
59      */

60     public void ex() throws ParseException {
61     }
62
63     /**
64      * Implements {@link LengthHandler#in()}.
65      */

66     public void in() throws ParseException {
67     }
68
69     /**
70      * Implements {@link LengthHandler#cm()}.
71      */

72     public void cm() throws ParseException {
73     }
74
75     /**
76      * Implements {@link LengthHandler#mm()}.
77      */

78     public void mm() throws ParseException {
79     }
80
81     /**
82      * Implements {@link LengthHandler#pc()}.
83      */

84     public void pc() throws ParseException {
85     }
86
87     /**
88      * Implements {@link LengthHandler#pt()}.
89      */

90     public void pt() throws ParseException {
91     }
92
93     /**
94      * Implements {@link LengthHandler#px()}.
95      */

96     public void px() throws ParseException {
97     }
98
99     /**
100      * Implements {@link LengthHandler#percentage()}.
101      */

102     public void percentage() throws ParseException {
103     }
104
105     /**
106      * Implements {@link LengthHandler#endLength()}.
107      */

108     public void endLength() throws ParseException {
109     }
110 }
111