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

📄 tagenddetector.java

📁 Jamon是一个Java文本模板引擎
💻 JAVA
字号:
package org.jamon.parser;import org.jamon.ParserError;import org.jamon.node.Location;/** * A class to detect when we are done reading a tag. * **/public interface TagEndDetector{    /**     * Check to see if we have reached the end of the current tag.     * @param p_char The character just read.     * @return The number of characters comprising the end token, or 0 if      * the tag is not yet done.     **/    int checkEnd(char p_char);    /**     * Called if we reach end of file while parsing java.  This will not be      * called if EOF is reached while inside a java quote.     * @param startLocation The location of the start of this java block     * (used to report errors)     * @return A ParserError detailing the problem     **/    ParserError getEofError(Location p_startLocation);    /**     * Called after parsing a section which cannot be part of a tag      * (and which was not passed to the checkEnd method).       * This method should reset any partial matches for an end token      * that may have been found.     **/    void resetEndMatch();}

⌨️ 快捷键说明

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