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, undoisNullOrUndefined, typepublic String _pathName
protected void removeNode(Document doc, OasPathItem node)
ReplaceNodeCommandprotected void addNode(Document doc, OasPathItem node)
ReplaceNodeCommandaddNode 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)
ReplaceNodeCommandreadNode in class ReplaceNodeCommand<OasPathItem>ReplaceNodeCommand.readNode(io.apicurio.datamodels.core.models.Document, java.lang.Object)Copyright © 2019 Red Hat. All rights reserved.