001 package com.mockrunner.mock.web; 002 003 import javax.servlet.jsp.JspEngineInfo; 004 005 /** 006 * Mock implementation of <code>JspEngineInfo</code>. 007 */ 008 public class MockJspEngineInfo extends JspEngineInfo 009 { 010 private String specificationVersion; 011 012 public MockJspEngineInfo() 013 { 014 specificationVersion = "2.1"; 015 } 016 017 public void setSpecificationVersion(String specificationVersion) 018 { 019 this.specificationVersion = specificationVersion; 020 } 021 022 public String getSpecificationVersion() 023 { 024 return specificationVersion; 025 } 026 }