public static final class OnSaveTask.Context extends Object
Modifier and Type | Method and Description |
---|---|
void |
addUndoEdit(UndoableEdit edit)
Task may add a custom undoable edit related to its operation by using this method.
|
Document |
getDocument()
Get a document on which the task is being executed.
|
Element |
getModificationsRootElement()
Get a root element with zero or more child elements each designating a modified region
of a document.
|
public Document getDocument()
public void addUndoEdit(UndoableEdit edit)
OnSaveTask.performTask()
.edit
- a custom undoable edit provided by the task.public Element getModificationsRootElement()
Built on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.