KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > batik > svggen > SVGSyntax


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.svggen;
19
20 import org.apache.batik.util.SVGConstants;
21
22 /**
23  * Contains the definition of the SVG tags and attribute names.
24  *
25  * @author <a HREF="mailto:vincent.hardy@eng.sun.com">Vincent Hardy</a>
26  * @version $Id: SVGSyntax.java,v 1.8 2004/08/18 07:15:09 vhardy Exp $
27  */

28 public interface SVGSyntax extends SVGConstants{
29     /**
30      * This is a qualified form for href, using the xlink: namespace prefix
31      */

32     public static final String JavaDoc ATTR_XLINK_HREF = "xlink:" + SVG_HREF_ATTRIBUTE;
33
34     /**
35      * ID Prefix. Generated IDs have the form <prefix><nn>
36      */

37     public static final String JavaDoc ID_PREFIX_ALPHA_COMPOSITE_CLEAR = "alphaCompositeClear";
38     public static final String JavaDoc ID_PREFIX_ALPHA_COMPOSITE_DST_IN = "alphaCompositeDstIn";
39     public static final String JavaDoc ID_PREFIX_ALPHA_COMPOSITE_DST_OUT = "alphaCompositeDstOut";
40     public static final String JavaDoc ID_PREFIX_ALPHA_COMPOSITE_DST_OVER = "alphaCompositeDstOver";
41     public static final String JavaDoc ID_PREFIX_ALPHA_COMPOSITE_SRC = "alphaCompositeSrc";
42     public static final String JavaDoc ID_PREFIX_ALPHA_COMPOSITE_SRC_IN = "alphaCompositeSrcIn";
43     public static final String JavaDoc ID_PREFIX_ALPHA_COMPOSITE_SRC_OUT = "alphaCompositeSrcOut";
44     public static final String JavaDoc ID_PREFIX_AMBIENT_LIGHT = "ambientLight";
45     public static final String JavaDoc ID_PREFIX_BUMP_MAP = "bumpMap";
46     public static final String JavaDoc ID_PREFIX_CLIP_PATH = "clipPath";
47     public static final String JavaDoc ID_PREFIX_DEFS = "defs";
48     public static final String JavaDoc ID_PREFIX_DIFFUSE_ADD = "diffuseAdd";
49     public static final String JavaDoc ID_PREFIX_DIFFUSE_LIGHTING_RESULT = "diffuseLightingResult";
50     public static final String JavaDoc ID_PREFIX_FE_CONVOLVE_MATRIX = "convolve";
51     public static final String JavaDoc ID_PREFIX_FE_COMPONENT_TRANSFER = "componentTransfer";
52     public static final String JavaDoc ID_PREFIX_FE_COMPOSITE = "composite";
53     public static final String JavaDoc ID_PREFIX_FE_COMPLEX_FILTER = "complexFilter";
54     public static final String JavaDoc ID_PREFIX_FE_DIFFUSE_LIGHTING = "diffuseLighting";
55     public static final String JavaDoc ID_PREFIX_FE_FLOOD = "flood";
56     public static final String JavaDoc ID_PREFIX_FE_GAUSSIAN_BLUR = "feGaussianBlur";
57     public static final String JavaDoc ID_PREFIX_FE_LIGHTING_FILTER = "feLightingFilter";
58     public static final String JavaDoc ID_PREFIX_FE_SPECULAR_LIGHTING = "feSpecularLighting";
59     public static final String JavaDoc ID_PREFIX_FONT = "font";
60     public static final String JavaDoc ID_PREFIX_GENERIC_DEFS = "genericDefs";
61     public static final String JavaDoc ID_PREFIX_IMAGE = "image";
62     public static final String JavaDoc ID_PREFIX_IMAGE_DEFS = "imageDefs";
63     public static final String JavaDoc ID_PREFIX_LINEAR_GRADIENT = "linearGradient";
64     public static final String JavaDoc ID_PREFIX_MASK = "mask";
65     public static final String JavaDoc ID_PREFIX_PATTERN = "pattern";
66     public static final String JavaDoc ID_PREFIX_RADIAL_GRADIENT = "radialGradient";
67     public static final String JavaDoc ID_PREFIX_SPECULAR_ADD = "specularAdd";
68     public static final String JavaDoc ID_PREFIX_SPECULAR_LIGHTING_RESULT = "specularLightingResult";
69
70     /**
71      * Generic
72      */

73     public static final String JavaDoc CLOSE_PARENTHESIS = ")";
74     public static final String JavaDoc COMMA = ",";
75     public static final String JavaDoc OPEN_PARENTHESIS = "(";
76     public static final String JavaDoc RGB_PREFIX = "rgb(";
77     public static final String JavaDoc RGB_SUFFIX = ")";
78     public static final String JavaDoc SIGN_PERCENT = "%";
79     public static final String JavaDoc SIGN_POUND = "#";
80     public static final String JavaDoc SPACE = " ";
81     public static final String JavaDoc URL_PREFIX = "url(";
82     public static final String JavaDoc URL_SUFFIX = ")";
83
84     public static final String JavaDoc DATA_PROTOCOL_PNG_PREFIX = "data:image/png;base64,";
85
86
87 }
88
Popular Tags