|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jsieve.parser.SieveNode
public class SieveNode
Class SieveNode defines aspects all jjTree parse nodes may require. Creation Date: 27-Jan-04
Constructor Summary | |
---|---|
SieveNode()
Constructor for SieveNode. |
Method Summary | |
---|---|
ScriptCoordinate |
getCoordinate()
Gets the position of this node in the script. |
Token |
getFirstToken()
Gets the first token comprising this node. |
java.lang.String |
getLastComment()
Get the last comment before this node and after the last node. |
Token |
getLastToken()
Gets the last token comprising this node. |
java.lang.String |
getName()
Returns the name. |
java.util.List<java.lang.String> |
getPrecedingComments()
Get any comments between this node and the previous one. |
java.lang.Object |
getValue()
Returns the value. |
void |
setFirstToken(Token firstToken)
Sets the first token comprising this node. |
void |
setLastToken(Token lastToken)
Sets the last token comprising this node. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setValue(java.lang.Object value)
Sets the value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SieveNode()
Method Detail |
---|
public java.lang.String getName()
public java.lang.Object getValue()
public void setName(java.lang.String name)
name
- The name to setpublic void setValue(java.lang.Object value)
value
- The value to setpublic Token getFirstToken()
Token
, not nullpublic void setFirstToken(Token firstToken)
firstToken
- Token
, not nullpublic Token getLastToken()
Token
, not nullpublic void setLastToken(Token lastToken)
lastToken
- Token
, not nullpublic ScriptCoordinate getCoordinate()
ScriptCoordinate
containing the position of this
node, not nullpublic java.util.List<java.lang.String> getPrecedingComments()
public java.lang.String getLastComment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |