|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.peaseplate.chunk.AbstractChunk
public abstract class AbstractChunk
The abstract implementation of a chunk. It stores the line and column numbers and the next chunk.
Constructor Summary | |
---|---|
AbstractChunk(TemplateLocator locator,
int line,
int column)
Creates the chunk using the specified line and column numbers. |
Method Summary | |
---|---|
int |
getColumn()
Returns the column where this chunk is located in the source of the template. |
int |
getLine()
Returns the line where this chunk is located in the source of the template. |
TemplateLocator |
getLocator()
Returns the template locator of the template this chunk belongs to |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.peaseplate.chunk.Chunk |
---|
isEssential, isVisible, render, toString |
Constructor Detail |
---|
public AbstractChunk(TemplateLocator locator, int line, int column)
locator
- the locatorline
- the linecolumn
- the columnMethod Detail |
---|
public TemplateLocator getLocator()
Chunk
getLocator
in interface Chunk
Chunk.getLocator()
public int getLine()
Chunk
getLine
in interface Chunk
Chunk.getLine()
public int getColumn()
Chunk
getColumn
in interface Chunk
Chunk.getColumn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |