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: * Constants for SMIL animation element and attribute names and values.
23: *
24: * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
25: * @version $Id: SMILConstants.java 475477 2006-11-15 22:44:28Z cam $
26: */
27: public interface SMILConstants {
28:
29: // Element names
30: String SMIL_ANIMATE_TAG = "animate";
31: String SMIL_ANIMATE_COLOR_TAG = "animateColor";
32: String SMIL_ANIMATE_MOTION_TAG = "animateMotion";
33: String SMIL_SET_TAG = "set";
34:
35: // Attributes names
36: String SMIL_ACCUMULATE_ATTRIBUTE = "accumulate";
37: String SMIL_ADDITIVE_ATTRIBUTE = "additive";
38: String SMIL_ATTRIBUTE_NAME_ATTRIBUTE = "attributeName";
39: String SMIL_ATTRIBUTE_TYPE_ATTRIBUTE = "attributeType";
40: String SMIL_BEGIN_ATTRIBUTE = "begin";
41: String SMIL_BY_ATTRIBUTE = "by";
42: String SMIL_CALC_MODE_ATTRIBUTE = "calcMode";
43: String SMIL_DUR_ATTRIBUTE = "dur";
44: String SMIL_END_ATTRIBUTE = "end";
45: String SMIL_FILL_ATTRIBUTE = "fill";
46: String SMIL_KEY_POINTS_ATTRIBUTE = "keyPoints";
47: String SMIL_KEY_SPLINES_ATTRIBUTE = "keySplines";
48: String SMIL_KEY_TIMES_ATTRIBUTE = "keyTimes";
49: String SMIL_FROM_ATTRIBUTE = "from";
50: String SMIL_ORIGIN_ATTRIBUTE = "origin";
51: String SMIL_MAX_ATTRIBUTE = "max";
52: String SMIL_MIN_ATTRIBUTE = "min";
53: String SMIL_PATH_ATTRIBUTE = "path";
54: String SMIL_REPEAT_COUNT_ATTRIBUTE = "repeatCount";
55: String SMIL_REPEAT_DUR_ATTRIBUTE = "repeatDur";
56: String SMIL_RESTART_ATTRIBUTE = "restart";
57: String SMIL_TO_ATTRIBUTE = "to";
58: String SMIL_VALUES_ATTRIBUTE = "values";
59:
60: // Attribute values
61: String SMIL_ALWAYS_VALUE = "always";
62: String SMIL_AUTO_VALUE = "auto";
63: String SMIL_CSS_VALUE = "CSS";
64: String SMIL_DEFAULT_VALUE = "default";
65: String SMIL_DISCRETE_VALUE = "discrete";
66: String SMIL_FREEZE_VALUE = "freeze";
67: String SMIL_HOLD_VALUE = "hold";
68: String SMIL_INDEFINITE_VALUE = "indefinite";
69: String SMIL_LINEAR_VALUE = "linear";
70: String SMIL_MEDIA_VALUE = "media";
71: String SMIL_NEVER_VALUE = "never";
72: String SMIL_NONE_VALUE = "none";
73: String SMIL_PACED_VALUE = "paced";
74: String SMIL_REMOVE_VALUE = "remove";
75: String SMIL_REPLACE_VALUE = "replace";
76: String SMIL_SPLINE_VALUE = "spline";
77: String SMIL_SUM_VALUE = "sum";
78: String SMIL_WHEN_NOT_ACTIVE_VALUE = "whenNotActive";
79: String SMIL_XML_VALUE = "XML";
80:
81: // Default attribute values
82: String SMIL_BEGIN_DEFAULT_VALUE = "0";
83:
84: // SMIL TimeEvent types
85: String SMIL_BEGIN_EVENT_NAME = "beginEvent";
86: String SMIL_END_EVENT_NAME = "endEvent";
87: String SMIL_REPEAT_EVENT_NAME = "repeatEvent";
88: String SMIL_REPEAT_EVENT_ALT_NAME = "repeat";
89: }
|