public class RenamePropertyCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
String |
_newPropertyName |
String |
_oldPropertyName |
NodePath |
_parentPath |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Document document)
Called to execute the command against the given document.
|
void |
undo(Document document)
Called to undo the command (restore the document to a previous state).
|
isNullOrUndefined, typepublic NodePath _parentPath
public String _oldPropertyName
public String _newPropertyName
public void execute(Document document)
ICommandCopyright © 2019 Red Hat. All rights reserved.