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