Skip to content

Package: JspEngineInfo

JspEngineInfo

nameinstructionbranchcomplexitylinemethod
JspEngineInfo()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * Copyright (c) 1997, 2020 Oracle and/or its affiliates and others.
3: * All rights reserved.
4: * Copyright 2004 The Apache Software Foundation
5: *
6: * Licensed under the Apache License, Version 2.0 (the "License");
7: * you may not use this file except in compliance with the License.
8: * 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 jakarta.servlet.jsp;
20:
21: /**
22: * The JspEngineInfo is an abstract class that provides information on the current JSP engine.
23: */
24: public abstract class JspEngineInfo {
25:
26: /**
27: * Sole constructor. (For invocation by subclass constructors, typically implicit.)
28: */
29: public JspEngineInfo() {
30: }
31:
32: /**
33: * Return the version number of the JSP specification that is supported by this JSP engine.
34: * <p>
35: * Specification version numbers that consists of positive decimal integers separated by periods ".", for example,
36: * "2.0" or "1.2.3.4.5.6.7". This allows an extensible number to be used to represent major, minor, micro, etc
37: * versions. The version number must begin with a number.
38: * </p>
39: *
40: * @return the specification version, null is returned if it is not known
41: */
42: public abstract String getSpecificationVersion();
43: }