01 /*
02 * Copyright 2004 The Apache Software Foundation
03 *
04 * Licensed under the Apache License, Version 2.0 (the "License");
05 * you may not use this file except in compliance with the License.
06 * You may obtain a copy of the License at
07 *
08 * http://www.apache.org/licenses/LICENSE-2.0
09 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package javax.servlet.jsp;
17
18 /**
19 * The JspEngineInfo is an abstract class that provides information on the
20 * current JSP engine.
21 */
22
23 public abstract class JspEngineInfo {
24
25 /**
26 * Sole constructor. (For invocation by subclass constructors,
27 * typically implicit.)
28 */
29 public JspEngineInfo() {
30 }
31
32 /**
33 * Return the version number of the JSP specification that is supported by
34 * this JSP engine.
35 * <p>
36 * Specification version numbers that consists of positive decimal integers
37 * separated by periods ".", for example, "2.0" or "1.2.3.4.5.6.7".
38 * This allows an extensible number to be used to
39 * represent major, minor, micro, etc versions.
40 * The version number must begin with a number.
41 * </p>
42 *
43 * @return the specification version, null is returned if it is not known
44 */
45
46 public abstract String getSpecificationVersion();
47 }
|