|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.lang.DroolsSentence
public class DroolsSentence
Class that represents a DroolsLanguage sentence. To be used by IDE.
Constructor Summary | |
---|---|
DroolsSentence()
|
Method Summary | |
---|---|
void |
addContent(DroolsToken token)
Add a token to the content and sets char offset info |
void |
addContent(int contextInfo)
Add a location to the content |
LinkedList |
getContent()
getter of sentence content |
int |
getEndOffset()
getter for end char offset |
int |
getStartOffset()
getter for start char offset |
DroolsSentenceType |
getType()
getter of sentence type |
void |
reverseContent()
Reverses the content linked list |
void |
setEndOffset(int endOffset)
setter for end char offset |
void |
setStartOffset(int startOffset)
setter for start char offset |
void |
setType(DroolsSentenceType type)
setter of sentence type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DroolsSentence()
Method Detail |
---|
public DroolsSentenceType getType()
DroolsSentenceType
public void setType(DroolsSentenceType type)
type
- sentence typeDroolsSentenceType
public int getStartOffset()
public void setStartOffset(int startOffset)
startOffset
- start char offsetpublic int getEndOffset()
public void setEndOffset(int endOffset)
endOffset
- end char offsetpublic LinkedList getContent()
public void reverseContent()
public void addContent(DroolsToken token)
token
- token to be storedpublic void addContent(int contextInfo)
contextInfo
- location identifierLocation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |