org.apache.jasper.compiler
クラス JspLineMap
java.lang.Object
|
+--org.apache.jasper.compiler.JspLineMap
- public class JspLineMap
- extends java.lang.Object
Data structure to store the line and file map information.
The line map has a mapping of which jsp lines correspond to
the generated servlet. The file map has all of jsp files
that are included in the servlet.
- 作成者:
- Justyna Horwat
メソッドの概要 |
void |
add(JspLineMapItem lineMapItem)
Add an item to the line map data structure |
int |
addFileName(java.lang.String fileName)
Add a file to the file map data structure. |
void |
clear()
|
JspLineMapItem |
get(int index)
Get an item to the line map data structure |
java.lang.String |
getFileName(int index)
Get a file from the file map data structure. |
int |
size()
Get line map data structure size |
java.lang.String |
toString()
Convert data structures to a string |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JspLineMap
public JspLineMap()
add
public void add(JspLineMapItem lineMapItem)
- Add an item to the line map data structure
get
public JspLineMapItem get(int index)
- Get an item to the line map data structure
size
public int size()
- Get line map data structure size
clear
public void clear()
addFileName
public int addFileName(java.lang.String fileName)
- Add a file to the file map data structure. The index is
stored in the line map to associate a file with the line
of code.
getFileName
public java.lang.String getFileName(int index)
- Get a file from the file map data structure. Use the index
to grab the right file name.
toString
public java.lang.String toString()
- Convert data structures to a string
- オーバーライド:
- クラス
java.lang.Object
内の toString
Copyright ? 2000 Apache Software Foundation. All Rights Reserved.