⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pageparserselector.java

📁 OS(OpenSymphony)的SiteMesh是一个用来在JSP中实现页面布局和装饰(layout and decoration)的框架组件
💻 JAVA
字号:
package com.opensymphony.module.sitemesh;/** * @author Joe Walnes */public interface PageParserSelector {    /**     * Determine whether a Page of given content-type should be parsed or not.     */    boolean shouldParsePage(String contentType);    /**     * Create a PageParser suitable for the given content-type.     *     * <p>For example, if the supplied parameter is <code>text/html</code>     * a parser shall be returned that can parse HTML accordingly.</p> Never returns null.     *     * @param contentType The MIME content-type of the data to be parsed     * @return Appropriate <code>PageParser</code> for reading data     *     */    PageParser getPageParser(String contentType);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -