|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jamon.parser.HashEndDetector
public class HashEndDetector
A TagEndDetector which will end either on a "%>" sequence or a hash sign ("#").
| Constructor Summary | |
|---|---|
HashEndDetector()
|
|
| Method Summary | |
|---|---|
int |
checkEnd(char p_char)
Check to see if we have reached the end of the current tag. |
boolean |
endedWithHash()
|
ParserErrorImpl |
getEofError(org.jamon.api.Location p_startLocation)
Called if we reach end of file while parsing java. |
void |
resetEndMatch()
Called after parsing a section which cannot be part of a tag (and which was not passed to the checkEnd method). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HashEndDetector()
| Method Detail |
|---|
public int checkEnd(char p_char)
TagEndDetector
checkEnd in interface TagEndDetectorp_char - The character just read.
public ParserErrorImpl getEofError(org.jamon.api.Location p_startLocation)
TagEndDetector
getEofError in interface TagEndDetectorpublic void resetEndMatch()
TagEndDetector
resetEndMatch in interface TagEndDetectorpublic boolean endedWithHash()
true if the final character read was a hash ("#"), false if it was a "%>"
sequence.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||