public class ReplaceOperationCommand extends ReplaceNodeCommand<OasOperation>
Modifier and Type | Field and Description |
---|---|
String |
_method |
String |
_path |
_new, _nodePath, _old
Modifier and Type | Method and Description |
---|---|
protected void |
addNode(Document doc,
OasOperation node)
Adds the given node to the data model.
|
protected OasOperation |
readNode(Document doc,
Object node)
Unmarshalls a node into the appropriate type.
|
protected void |
removeNode(Document doc,
OasOperation node)
Removes the given node from the data model.
|
execute, undo
isNullOrUndefined, type
protected void removeNode(Document doc, OasOperation node)
ReplaceNodeCommand
protected void addNode(Document doc, OasOperation node)
ReplaceNodeCommand
protected OasOperation readNode(Document doc, Object node)
ReplaceNodeCommand
readNode
in class ReplaceNodeCommand<OasOperation>
ReplaceNodeCommand.readNode(io.apicurio.datamodels.core.models.Document, java.lang.Object)
Copyright © 2020 Red Hat. All rights reserved.