public abstract class DeleteNodeCommand<T extends Node> extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
Object |
_oldValue |
NodePath |
_parentPath |
String |
_property |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Document document)
Called to execute the command against the given document.
|
protected abstract T |
readNode(Document doc,
Object node) |
void |
undo(Document document)
Called to undo the command (restore the document to a previous state).
|
isNullOrUndefined, typepublic String _property
public NodePath _parentPath
public Object _oldValue
public void execute(Document document)
ICommandpublic void undo(Document document)
ICommandCopyright © 2019 Red Hat. All rights reserved.