01: /*
02:
03: Licensed to the Apache Software Foundation (ASF) under one or more
04: contributor license agreements. See the NOTICE file distributed with
05: this work for additional information regarding copyright ownership.
06: The ASF licenses this file to You under the Apache License, Version 2.0
07: (the "License"); you may not use this file except in compliance with
08: the License. You may obtain a copy of the License at
09:
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.util;
20:
21: /**
22: * Abstract class for SVG type related constants. These maybe should
23: * move into o.a.b.util.SVGConstants.
24: *
25: * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
26: * @version $Id: SVGTypes.java 475477 2006-11-15 22:44:28Z cam $
27: */
28: public abstract class SVGTypes {
29:
30: // Constants for SVG attribute and property types.
31: public static final int TYPE_UNKNOWN = 0;
32: public static final int TYPE_INTEGER = 1;
33: public static final int TYPE_NUMBER = 2;
34: public static final int TYPE_LENGTH = 3;
35: public static final int TYPE_NUMBER_OPTIONAL_NUMBER = 4;
36: public static final int TYPE_ANGLE = 5;
37: public static final int TYPE_COLOR = 6;
38: public static final int TYPE_PAINT = 7;
39: public static final int TYPE_PERCENTAGE = 8;
40: public static final int TYPE_TRANSFORM_LIST = 9;
41: public static final int TYPE_URI = 10;
42: public static final int TYPE_FREQUENCY = 11;
43: public static final int TYPE_TIME = 12;
44: public static final int TYPE_NUMBER_LIST = 13;
45: public static final int TYPE_LENGTH_LIST = 14;
46: public static final int TYPE_IDENT = 15;
47: public static final int TYPE_CDATA = 16;
48: public static final int TYPE_LENGTH_OR_INHERIT = 17;
49: public static final int TYPE_IDENT_LIST = 18;
50: public static final int TYPE_CLIP_VALUE = 19;
51: public static final int TYPE_URI_OR_IDENT = 20;
52: public static final int TYPE_CURSOR_VALUE = 21;
53: public static final int TYPE_PATH_DATA = 22;
54: public static final int TYPE_ENABLE_BACKGROUND_VALUE = 23;
55: public static final int TYPE_TIME_VALUE_LIST = 24;
56: public static final int TYPE_NUMBER_OR_INHERIT = 25;
57: public static final int TYPE_FONT_FAMILY_VALUE = 26;
58: public static final int TYPE_FONT_FACE_FONT_SIZE_VALUE = 27;
59: public static final int TYPE_FONT_WEIGHT_VALUE = 28;
60: public static final int TYPE_ANGLE_OR_IDENT = 29;
61: public static final int TYPE_KEY_SPLINES_VALUE = 30;
62: public static final int TYPE_POINTS_VALUE = 31;
63: public static final int TYPE_PRESERVE_ASPECT_RATIO_VALUE = 32;
64: public static final int TYPE_URI_LIST = 33;
65: public static final int TYPE_LENGTH_LIST_OR_IDENT = 34;
66: public static final int TYPE_CHARACTER_OR_UNICODE_RANGE_LIST = 35;
67: public static final int TYPE_UNICODE_RANGE_LIST = 36;
68: public static final int TYPE_FONT_VALUE = 37;
69: public static final int TYPE_FONT_DESCRIPTOR_SRC_VALUE = 38;
70: public static final int TYPE_FONT_SIZE_VALUE = 39;
71: public static final int TYPE_BASELINE_SHIFT_VALUE = 40;
72: public static final int TYPE_KERNING_VALUE = 41;
73: public static final int TYPE_SPACING_VALUE = 42;
74: public static final int TYPE_LINE_HEIGHT_VALUE = 43;
75: public static final int TYPE_FONT_SIZE_ADJUST_VALUE = 44;
76: public static final int TYPE_LANG = 45;
77: public static final int TYPE_LANG_LIST = 46;
78: public static final int TYPE_NUMBER_OR_PERCENTAGE = 47;
79: public static final int TYPE_TIMING_SPECIFIER_LIST = 48;
80: public static final int TYPE_BOOLEAN = 49;
81: }
|