亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xsltviewresolver.java

?? spring framework 2.5.4源代碼
?? JAVA
字號:
/*
 * Copyright 2002-2007 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.web.servlet.view.xslt;

import java.util.Properties;

import javax.xml.transform.ErrorListener;
import javax.xml.transform.URIResolver;

import org.springframework.web.servlet.view.AbstractUrlBasedView;
import org.springframework.web.servlet.view.UrlBasedViewResolver;

/**
 * {@link org.springframework.web.servlet.ViewResolver} implementation that
 * resolves instances of {@link XsltView} by translating the supplied view name
 * into the URL of the XSLT stylesheet.
 *
 * @author Rob Harrop
 * @author Juergen Hoeller
 * @since 2.0
 */
public class XsltViewResolver extends UrlBasedViewResolver {

	private String sourceKey;

	private URIResolver uriResolver;

	private ErrorListener errorListener;

	private boolean indent = true;

	private Properties outputProperties;

	private boolean cacheTemplates = true;


	public XsltViewResolver() {
		setViewClass(XsltView.class);
	}


	/**
	 * Set the name of the model attribute that represents the XSLT Source.
	 * If not specified, the model map will be searched for a matching value type.
	 * <p>The following source types are supported out of the box:
	 * {@link javax.xml.transform.Source}, {@link org.w3c.dom.Document},
	 * {@link org.w3c.dom.Node}, {@link java.io.Reader}, {@link java.io.InputStream}
	 * and {@link org.springframework.core.io.Resource}.
	 */
	public void setSourceKey(String sourceKey) {
		this.sourceKey = sourceKey;
	}

	/**
	 * Set the URIResolver used in the transform.
	 * <p>The URIResolver handles calls to the XSLT <code>document()</code> function.
	 */
	public void setUriResolver(URIResolver uriResolver) {
		this.uriResolver = uriResolver;
	}

	/**
	 * Set an implementation of the {@link javax.xml.transform.ErrorListener}
	 * interface for custom handling of transformation errors and warnings.
	 * <p>If not set, a default
	 * {@link org.springframework.util.xml.SimpleTransformErrorListener} is
	 * used that simply logs warnings using the logger instance of the view class,
	 * and rethrows errors to discontinue the XML transformation.
	 * @see org.springframework.util.xml.SimpleTransformErrorListener
	 */
	public void setErrorListener(ErrorListener errorListener) {
		this.errorListener = errorListener;
	}

	/**
	 * Set whether the XSLT transformer may add additional whitespace when
	 * outputting the result tree.
	 * <p>Default is <code>true</code> (on); set this to <code>false</code> (off)
	 * to not specify an "indent" key, leaving the choice up to the stylesheet.
	 * @see javax.xml.transform.OutputKeys#INDENT
	 */
	public void setIndent(boolean indent) {
		this.indent = indent;
	}

	/**
	 * Set arbitrary transformer output properties to be applied to the stylesheet.
	 * <p>Any values specified here will override defaults that this view sets
	 * programmatically.
	 * @see javax.xml.transform.Transformer#setOutputProperty
	 */
	public void setOutputProperties(Properties outputProperties) {
		this.outputProperties = outputProperties;
	}

	/**
	 * Turn on/off the caching of the XSLT templates.
	 * <p>The default value is "true". Only set this to "false" in development,
	 * where caching does not seriously impact performance.
	 */
	public void setCacheTemplates(boolean cacheTemplates) {
		this.cacheTemplates = cacheTemplates;
	}


	protected Class requiredViewClass() {
		return XsltView.class;
	}

	protected AbstractUrlBasedView buildView(String viewName) throws Exception {
		XsltView view = (XsltView) super.buildView(viewName);
		view.setSourceKey(this.sourceKey);
		if (this.uriResolver != null) {
			view.setUriResolver(this.uriResolver);
		}
		if (this.errorListener != null) {
			view.setErrorListener(this.errorListener);
		}
		view.setIndent(this.indent);
		view.setOutputProperties(this.outputProperties);
		view.setCacheTemplates(this.cacheTemplates);
		return view;
	}

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品丝袜在线| 91网站最新网址| 4438x成人网最大色成网站| 亚洲免费电影在线| 欧美在线观看禁18| 亚洲3atv精品一区二区三区| 欧美高清视频不卡网| 视频一区二区中文字幕| 欧美一级日韩不卡播放免费| 蜜臀久久久久久久| 日韩午夜精品电影| 久久福利资源站| 国产片一区二区| 99久久精品国产毛片| 亚洲精品v日韩精品| 欧美日韩国产免费一区二区 | 日韩高清不卡一区二区三区| 日韩一区二区中文字幕| 精品亚洲国内自在自线福利| 欧美国产视频在线| 在线观看av一区| 蜜桃av一区二区| 日本一区二区久久| 色婷婷久久久久swag精品| 天天做天天摸天天爽国产一区| 日韩欧美中文字幕制服| 国产suv精品一区二区883| 亚洲另类春色校园小说| 91精品国产麻豆国产自产在线| 国产一区999| 亚洲一区二区三区美女| 久久视频一区二区| 91美女片黄在线观看91美女| 日本中文一区二区三区| 欧美极品xxx| 欧美电影在线免费观看| 国产一区二区0| 夜夜揉揉日日人人青青一国产精品 | 亚洲高清免费观看高清完整版在线观看 | 亚洲色图在线视频| 国产欧美一区二区三区在线老狼| 色香蕉成人二区免费| 极品美女销魂一区二区三区免费| 国产精品激情偷乱一区二区∴| 色94色欧美sute亚洲线路一久| 麻豆成人免费电影| 自拍偷拍欧美激情| 亚洲精品一区二区三区四区高清| 一本大道久久a久久精品综合| 国产一区二区三区免费播放| 亚洲一本大道在线| 国产精品国模大尺度视频| 日韩欧美综合在线| 欧美三级电影在线看| 99re成人精品视频| 岛国精品在线观看| 精品一区二区免费| 青青草成人在线观看| 亚洲国产精品久久艾草纯爱| 中文字幕一区二区三区不卡 | 中文字幕在线一区免费| xf在线a精品一区二区视频网站| 欧美日韩高清一区二区不卡| av电影在线观看不卡| 精油按摩中文字幕久久| 麻豆专区一区二区三区四区五区| 亚洲一区二区三区自拍| 亚洲欧美偷拍三级| 综合久久久久综合| 亚洲欧美一区二区三区极速播放| 国产精品视频第一区| 2022国产精品视频| 欧美视频第二页| 欧美天天综合网| 99热99精品| 大美女一区二区三区| 美国一区二区三区在线播放| 亚洲一区二区精品3399| 国产精品久久夜| 欧美日韩一级二级三级| 久久久国际精品| 6080午夜不卡| 欧美日韩在线三级| 色婷婷国产精品综合在线观看| 国内精品国产成人| 视频一区二区三区中文字幕| 亚洲色图都市小说| 欧美国产综合一区二区| 久久亚洲影视婷婷| 久久综合九色综合欧美亚洲| 欧美一区二区播放| 色域天天综合网| 日本高清成人免费播放| 色哟哟一区二区三区| 粉嫩av亚洲一区二区图片| 国产精品一二一区| 国产一区二区美女| 精品一区二区三区不卡| 亚洲va欧美va人人爽午夜| 男人的j进女人的j一区| 亚洲成人免费看| 日韩精品免费视频人成| 日日夜夜精品视频天天综合网| 亚洲一卡二卡三卡四卡五卡| 毛片不卡一区二区| 日韩av一区二区三区| 日韩精品视频网站| 老司机免费视频一区二区| 激情综合亚洲精品| 国产在线不卡视频| 国产一区二区三区精品欧美日韩一区二区三区 | 男女激情视频一区| 久久国产精品露脸对白| 国内精品嫩模私拍在线| 成人福利视频网站| 色屁屁一区二区| 欧美精品乱人伦久久久久久| 欧美日韩一区三区| 国产亚洲精品超碰| **欧美大码日韩| 亚洲v日本v欧美v久久精品| 石原莉奈一区二区三区在线观看| 男人操女人的视频在线观看欧美 | 不卡一区二区三区四区| 91麻豆产精品久久久久久| 色综合久久精品| 99久久伊人精品| 91久久国产最好的精华液| 久久先锋影音av鲁色资源| 中文字幕不卡一区| 一区二区三区在线免费视频| 亚洲成人久久影院| 免费的国产精品| 精品一区二区三区视频| 国产福利不卡视频| 在线一区二区三区| 欧美影院精品一区| 欧美精品日日鲁夜夜添| 337p日本欧洲亚洲大胆精品| 中文字幕一区日韩精品欧美| 亚洲妇女屁股眼交7| 久久99热99| 成人av一区二区三区| 色久综合一二码| 日韩一区二区免费电影| 26uuu精品一区二区| 欧美一级生活片| 国产精品三级av| 天堂久久一区二区三区| 成人午夜视频在线观看| 国产999精品久久| 日韩小视频在线观看专区| 亚洲欧洲日韩av| 久久爱另类一区二区小说| 在线观看av一区| 中文字幕欧美激情| 日本不卡一区二区| 色婷婷综合久久| 精品成人在线观看| 一区二区三区蜜桃网| 久久精品国产一区二区| 99视频一区二区三区| 欧美福利视频一区| 欧美激情在线一区二区| 蜜桃精品视频在线| 色香色香欲天天天影视综合网| 欧美一卡二卡在线| 日韩三级.com| 亚洲一区二区在线观看视频| 国产精品一区二区x88av| 在线国产电影不卡| 欧美大尺度电影在线| 蜜桃一区二区三区在线观看| 欧美丝袜第三区| 中文字幕欧美激情| 韩国精品主播一区二区在线观看 | 国产91丝袜在线观看| 欧美日韩国产免费| 天天综合天天做天天综合| 成人免费视频国产在线观看| 欧美一区二区精品久久911| 日韩美女精品在线| 国产999精品久久久久久绿帽| 26uuu亚洲综合色| 亚洲国产精品麻豆| 91成人看片片| 亚洲乱码日产精品bd| 9人人澡人人爽人人精品| 久久久亚洲欧洲日产国码αv| 免费成人av资源网| 91亚洲精品久久久蜜桃| 久久伊99综合婷婷久久伊| 一区二区三区欧美视频| 91免费国产视频网站| 1000部国产精品成人观看| av一区二区不卡| 亚洲精品欧美专区| 欧美视频一区二区| 午夜精品福利视频网站| 欧美日韩aaaaa|