Package org.apache.jasper.compiler
Class SmapStratum.LineInfo
- java.lang.Object
-
- org.apache.jasper.compiler.SmapStratum.LineInfo
-
- Enclosing class:
- SmapStratum
public static class SmapStratum.LineInfo extends java.lang.ObjectRepresents a single LineSection in an SMAP, associated with a particular stratum.
-
-
Constructor Summary
Constructors Constructor Description LineInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxOutputLineNumber()java.lang.StringgetString()voidsetInputLineCount(int inputLineCount)voidsetInputStartLine(int inputStartLine)voidsetLineFileID(int lineFileID)Sets lineFileID.voidsetOutputLineIncrement(int outputLineIncrement)voidsetOutputStartLine(int outputStartLine)java.lang.StringtoString()
-
-
-
Method Detail
-
setInputStartLine
public void setInputStartLine(int inputStartLine)
-
setOutputStartLine
public void setOutputStartLine(int outputStartLine)
-
setLineFileID
public void setLineFileID(int lineFileID)
Sets lineFileID. Should be called only when different from that of prior LineInfo object (in any given context) or 0 if the current LineInfo has no (logical) predecessor.LineInfowill print this file number no matter what.- Parameters:
lineFileID- The new line file ID
-
setInputLineCount
public void setInputLineCount(int inputLineCount)
-
setOutputLineIncrement
public void setOutputLineIncrement(int outputLineIncrement)
-
getMaxOutputLineNumber
public int getMaxOutputLineNumber()
-
getString
public java.lang.String getString()
- Returns:
- the current LineInfo as a String, print all values only when appropriate (but LineInfoID if and only if it's been specified, as its necessity is sensitive to context).
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-