|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface LpexParser can be implemented to define a document parser.
A parser is associated with one particular view of a document. The parser must have a constructor whose parameter is this view:
MyLpexParser(LpexView lpexView) {}
LpexCommonParser
Method Summary | |
---|---|
String |
getProperty(String key)
Retrieve a parser property. |
void |
parse(int element)
Incremental parse. |
void |
resetParser()
Remove all of the parser specifics from the document view. |
void |
totalParse()
Total parse. |
Method Detail |
public void resetParser()
LpexCommonParser.resetParser()
public void totalParse()
LpexCommonParser.totalParse()
public void parse(int element)
element
- the element whose committed change triggered the parse,
or the element that precedes / follows a deleted block;
the parser may identify other neighbouring elements that
will have to be reparsed as a unitLpexCommonParser.parse(int)
public String getProperty(String key)
key
- property nameLpexCommonParser.getProperty(java.lang.String)
|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |