|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 column| Method Detail |
|---|
public TemplateLocator getLocator()
Chunk
getLocator in interface ChunkChunk.getLocator()public int getLine()
Chunk
getLine in interface ChunkChunk.getLine()public int getColumn()
Chunk
getColumn in interface ChunkChunk.getColumn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||