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, type
public String _property
public NodePath _parentPath
public Object _oldValue
public void execute(Document document)
ICommand
public void undo(Document document)
ICommand
Copyright © 2019 Red Hat. All rights reserved.