|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprettify.parser.Job
public class Job
This is the job object that similar to those in JavaScript Prettify.
| Field Summary | |
|---|---|
protected int |
basePos
The starting point of the source code. |
protected java.util.List<java.lang.Object> |
decorations
The parsed results. |
protected java.lang.String |
sourceCode
The source code. |
| Constructor Summary | |
|---|---|
Job()
Constructor. |
|
Job(int basePos,
java.lang.String sourceCode)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getBasePos()
Set the starting point of the source code. |
java.util.List<java.lang.Object> |
getDecorations()
Get the parsed results. |
java.lang.String |
getSourceCode()
Get the source code. |
void |
setBasePos(int basePos)
Set the starting point of the source code. |
void |
setDecorations(java.util.List<java.lang.Object> decorations)
Set the parsed results. |
void |
setSourceCode(java.lang.String sourceCode)
Set the source code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int basePos
protected java.lang.String sourceCode
protected java.util.List<java.lang.Object> decorations
| Constructor Detail |
|---|
public Job()
public Job(int basePos,
java.lang.String sourceCode)
basePos - the starting point of the source codesourceCode - the source code| Method Detail |
|---|
public int getBasePos()
public void setBasePos(int basePos)
basePos - the positionpublic java.lang.String getSourceCode()
public void setSourceCode(java.lang.String sourceCode)
sourceCode - the source codepublic java.util.List<java.lang.Object> getDecorations()
decorations.
public void setDecorations(java.util.List<java.lang.Object> decorations)
decorations.
decorations - the parsed results
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||