org.apache.jasper.compiler
クラス JspParseEventListener
java.lang.Object
|
+--org.apache.jasper.compiler.JspParseEventListener
- すべての実装インタフェース:
- ParseEventListener
- public class JspParseEventListener
- extends java.lang.Object
- implements ParseEventListener
JSP code generator "backend".
- 作成者:
- Anil K. Vijendran, Pierre Delisle, Danno Ferrin
メソッドの概要 |
void |
beginPageProcessing()
|
void |
endPageProcessing()
|
TagLibraries |
getTagLibraries()
|
void |
handleBean(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
|
void |
handleBean(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
boolean isXml)
|
void |
handleBeanEnd(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
|
void |
handleCharData(Mark start,
Mark stop,
char[] chars)
|
void |
handleComment(Mark start,
Mark stop,
char[] text)
|
void |
handleDeclaration(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
char[] text)
|
void |
handleDirective(java.lang.String directive,
Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
|
void |
handleExpression(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
char[] text)
|
void |
handleForward(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param)
|
void |
handleForward(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
boolean isXml)
|
void |
handleGetProperty(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
|
void |
handleInclude(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param)
|
void |
handleInclude(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
boolean isXml)
|
void |
handleJspCdata(Mark start,
Mark stop,
char[] data)
|
void |
handlePlugin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
java.lang.String fallback)
|
void |
handlePlugin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
java.lang.String fallback,
boolean isXml)
|
void |
handleRootBegin(org.xml.sax.Attributes attrs)
|
void |
handleRootEnd()
|
void |
handleScriptlet(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
char[] text)
|
void |
handleSetProperty(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
|
void |
handleSetProperty(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
boolean isXml)
|
void |
handleTagBegin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.lang.String prefix,
java.lang.String shortTagName,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
boolean hasBody)
|
void |
handleTagBegin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.lang.String prefix,
java.lang.String shortTagName,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
boolean hasBody,
boolean isXml)
|
void |
handleTagEnd(Mark start,
Mark stop,
java.lang.String prefix,
java.lang.String shortTagName,
org.xml.sax.Attributes attrs,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
boolean hasBody)
|
void |
handleUninterpretedTagBegin(Mark start,
Mark stop,
java.lang.String rawName,
org.xml.sax.Attributes attrs)
|
void |
handleUninterpretedTagEnd(Mark start,
Mark stop,
java.lang.String rawName,
char[] data)
|
static void |
setCommentGenerator(CommentGenerator generator)
|
void |
setDefault(boolean isXml)
|
void |
setReader(JspReader reader)
The reader associated with the listener.
|
void |
setTemplateInfo(Mark start,
Mark stop)
|
void |
validate()
validate the XML stream of the JSP document against the
libraries used by the document. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected JspReader reader
writer
protected ServletWriter writer
setDefault
public void setDefault(boolean isXml)
- 定義:
- インタフェース
ParseEventListener
内の setDefault
setCommentGenerator
public static void setCommentGenerator(CommentGenerator generator)
setReader
public void setReader(JspReader reader)
- インタフェース
ParseEventListener
の記述:
- The reader associated with the listener.
As of JSP1.2, each part of the JSP tranlation
unit is parsed with a new instance of a parser
and the reader is different for each one.
- 定義:
- インタフェース
ParseEventListener
内の setReader
setTemplateInfo
public void setTemplateInfo(Mark start,
Mark stop)
- 定義:
- インタフェース
ParseEventListener
内の setTemplateInfo
beginPageProcessing
public void beginPageProcessing()
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の beginPageProcessing
endPageProcessing
public void endPageProcessing()
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の endPageProcessing
handleComment
public void handleComment(Mark start,
Mark stop,
char[] text)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleComment
handleDirective
public void handleDirective(java.lang.String directive,
Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleDirective
handleDeclaration
public void handleDeclaration(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
char[] text)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleDeclaration
handleScriptlet
public void handleScriptlet(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
char[] text)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleScriptlet
handleExpression
public void handleExpression(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
char[] text)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleExpression
handleBean
public void handleBean(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleBean
handleBean
public void handleBean(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
boolean isXml)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleBean
handleBeanEnd
public void handleBeanEnd(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleBeanEnd
handleGetProperty
public void handleGetProperty(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleGetProperty
handleSetProperty
public void handleSetProperty(Mark start,
Mark stop,
org.xml.sax.Attributes attrs)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleSetProperty
handleSetProperty
public void handleSetProperty(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
boolean isXml)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleSetProperty
handlePlugin
public void handlePlugin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
java.lang.String fallback)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handlePlugin
handlePlugin
public void handlePlugin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
java.lang.String fallback,
boolean isXml)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handlePlugin
handleForward
public void handleForward(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleForward
handleForward
public void handleForward(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
boolean isXml)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleForward
handleInclude
public void handleInclude(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleInclude
handleInclude
public void handleInclude(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.util.Hashtable param,
boolean isXml)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleInclude
handleCharData
public void handleCharData(Mark start,
Mark stop,
char[] chars)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleCharData
handleTagBegin
public void handleTagBegin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.lang.String prefix,
java.lang.String shortTagName,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
boolean hasBody)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleTagBegin
handleTagBegin
public void handleTagBegin(Mark start,
Mark stop,
org.xml.sax.Attributes attrs,
java.lang.String prefix,
java.lang.String shortTagName,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
boolean hasBody,
boolean isXml)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleTagBegin
handleTagEnd
public void handleTagEnd(Mark start,
Mark stop,
java.lang.String prefix,
java.lang.String shortTagName,
org.xml.sax.Attributes attrs,
javax.servlet.jsp.tagext.TagLibraryInfo tli,
javax.servlet.jsp.tagext.TagInfo ti,
boolean hasBody)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleTagEnd
getTagLibraries
public TagLibraries getTagLibraries()
- 定義:
- インタフェース
ParseEventListener
内の getTagLibraries
handleRootEnd
public void handleRootEnd()
- 定義:
- インタフェース
ParseEventListener
内の handleRootEnd
handleRootBegin
public void handleRootBegin(org.xml.sax.Attributes attrs)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleRootBegin
handleUninterpretedTagBegin
public void handleUninterpretedTagBegin(Mark start,
Mark stop,
java.lang.String rawName,
org.xml.sax.Attributes attrs)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleUninterpretedTagBegin
handleUninterpretedTagEnd
public void handleUninterpretedTagEnd(Mark start,
Mark stop,
java.lang.String rawName,
char[] data)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleUninterpretedTagEnd
handleJspCdata
public void handleJspCdata(Mark start,
Mark stop,
char[] data)
throws JasperException
- 定義:
- インタフェース
ParseEventListener
内の handleJspCdata
validate
public void validate()
throws JasperException
- validate the XML stream of the JSP document against the
libraries used by the document.
Copyright ? 2000 Apache Software Foundation. All Rights Reserved.