|
JspReader (Jasper Internal API Documentation)
org.apache.jasper.compiler
|
Field Summary | |
protected Mark |
current
|
Constructor Summary | |
protected |
JspReader(JspCompilationContext ctx,
java.lang.String file,
java.lang.String encoding,
java.io.InputStreamReader reader)
|
Method Summary | |
void |
advance(int n)
|
java.lang.String |
getFile(int fileid)
|
boolean |
hasMoreInput()
|
Mark |
mark()
|
boolean |
matches(java.lang.String string)
|
boolean |
matchesIgnoreCase(java.lang.String string)
|
int |
nextChar()
|
void |
parseParamTag(java.util.Hashtable into)
Parse PARAM tag attributes into the given hashtable. |
void |
parsePluginParamTag(java.util.Hashtable into)
Parse jsp:param tag attributes into the given hashtable. |
parseTagAttributes()
Parse some tag attributes. |
|
parseTagAttributesBean()
Parse some tag attributes for Beans. |
|
java.lang.String |
parseToken(boolean quoted)
Parse a space delimited token. |
int |
peekChar()
|
boolean |
popFile()
|
protected int |
registerSourceFile(java.lang.String file)
Register a new source file. |
void |
reset(Mark mark)
|
void |
setSingleFile(boolean val)
|
int |
skipSpaces()
|
Mark |
skipUntil(java.lang.String limit)
Skip until the given string is matched in the stream. |
protected int |
unregisterSourceFile(java.lang.String file)
Unregister the source file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Mark current
Constructor Detail |
protected JspReader(JspCompilationContext ctx, java.lang.String file, java.lang.String encoding, java.io.InputStreamReader reader) throws ParseException, java.io.FileNotFoundException
Method Detail |
public java.lang.String getFile(int fileid)
protected int registerSourceFile(java.lang.String file)
protected int unregisterSourceFile(java.lang.String file)
public boolean popFile() throws ParseException
public boolean hasMoreInput() throws ParseException
public int nextChar() throws ParseException
public int peekChar()
public Mark mark()
public void reset(Mark mark)
public boolean matchesIgnoreCase(java.lang.String string) throws ParseException
public boolean matches(java.lang.String string) throws ParseException
public void advance(int n) throws ParseException
public int skipSpaces() throws ParseException
public Mark skipUntil(java.lang.String limit) throws ParseException
Mark
instance if found,
null otherwise.
ParseException
public java.lang.String parseToken(boolean quoted) throws ParseException
quoted
- If true accept quoted strings.
ParseException
throws ParseException
tag-attrs := empty | attr-list (">" | "-->" | %>) attr-list := empty | av spaces attr-list empty := spacesWhere av is defined by
parseAttributeValue
.
ParseException
throws ParseException
tag-attrs := empty | attr-list (">" | "-->" | %>) attr-list := empty | av spaces attr-list empty := spacesWhere av is defined by
parseAttributeValue
.
ParseException
public void parseParamTag(java.util.Hashtable into) throws ParseException
<PARAM tag-attributes %gt;Two special tag attributes are recognized here:
into
- Storage for parameter values.
ParseException
public void parsePluginParamTag(java.util.Hashtable into) throws ParseException
<jsp:param tag-attributes %gt;Two special tag attributes are recognized here:
into
- Storage for parameter values.
ParseException
public void setSingleFile(boolean val)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |