Java 类javax.servlet.jsp.JspEngineInfo 实例源码

项目:ontopia    文件:JSPEngineWrapper.java   
private static WrapperIF getWrapper() {
  if (wrapper != null)
    return wrapper;

  if (JspFactory.getDefaultFactory() == null)
    // ontojsp can't set the default factory, since ontojsp needs to
    // be able to run inside app servers, which will set the default.
    // in the test suite there will therefore be no default factory.
    return new JSP12Wrapper(); 

  JspEngineInfo engine = JspFactory.getDefaultFactory().getEngineInfo();
  String version = engine.getSpecificationVersion();
  switch (version) {
    case "2.0": return new JSP20Wrapper();
    case "1.2": return new JSP12Wrapper();
    default: return new JSP11Wrapper();
  }
}
项目:tomcat7    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:lams    文件:JspFactoryImpl.java   
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:apache-tomcat-7.0.73-with-comment    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:lazycat    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:beyondj    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:packagedrone    文件:JspFactoryImpl.java   
public JspEngineInfo getEngineInfo() {
      return new JspEngineInfo() {
public String getSpecificationVersion() {
    return SPEC_VERSION;
}
   };
  }
项目:class-guard    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:package-drone    文件:JspFactoryImpl.java   
public JspEngineInfo getEngineInfo() {
      return new JspEngineInfo() {
public String getSpecificationVersion() {
    return SPEC_VERSION;
}
   };
  }
项目:apache-tomcat-7.0.57    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:apache-tomcat-7.0.57    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:WBSAirback    文件:JspFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return new JspEngineInfo() {
        @Override
        public String getSpecificationVersion() {
            return SPEC_VERSION;
        }
    };
}
项目:Lucee4    文件:CFMLFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return info;
}
项目:Lucee    文件:CFMLFactoryImpl.java   
@Override
public JspEngineInfo getEngineInfo() {
    return info;
}
项目:puzzle    文件:JspFactory.java   
/**
 * <p>
 * called to get implementation-specific information on the current JSP engine.
 * </p>
 *
 * @return a JspEngineInfo object describing the current JSP engine
 */

public abstract JspEngineInfo getEngineInfo();