PageData (Java EE 5)

Java EE API


javax.servlet.jsp.tagext Class PageData

java.lang.Object
  extended by javax.servlet.jsp.tagext.PageData

public abstract class PageData
extends Object


JSP 页面上的转换期间信息。该信息对应于 JSP 页面的 XML 视图。

此类对象由 JSP 转换器生成,例如,在被传递到 TagLibraryValidator 实例的时候。

英文文档:

Translation-time information on a JSP page. The information corresponds to the XML view of the JSP page.

Objects of this type are generated by the JSP translator, e.g. when being pased to a TagLibraryValidator instance.


Constructor Summary
 
Method Summary
abstract  InputStream
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public PageData()
唯一的构造方法。(由子类构造方法调用,通常是隐式的)。
英文文档:

PageData

public PageData()
Sole constructor. (For invocation by subclass constructors, typically implicit.)

Method Detail

abstract public java.io.InputStream getInputStream()
返回 JSP 页面的 XML 视图上的输入流。该流是用 UTF-8 编码的。记住,JSP 页面的 XML 视图扩展了 include 指令。
return 文档上的输入流。
英文文档:

getInputStream

public abstract InputStream getInputStream()
Returns an input stream on the XML view of a JSP page. The stream is encoded in UTF-8. Recall tht the XML view of a JSP page has the include directives expanded.

Returns:
An input stream on the document.


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!