|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This Editor is a contract for editing any node. An editor has two roles : - Decide if this editor accept a node - Edit it using an EditorContext state
Important element : This editor is not an XMLEditor but only and add-one for editing a particular node. This is useful when you want a custom editor better adatper to user need
EditorContext
Method Summary | |
boolean |
accept(com.japisoft.fastparser.node.SimpleNode node)
|
void |
edit(EditorContext context)
Edit a particular text context. |
Method Detail |
public boolean accept(com.japisoft.fastparser.node.SimpleNode node)
public void edit(EditorContext context)
setResult
once
you terminate the custom editing part. If you don't want to edit it, just
write a null
result.
context
- Editing context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |