public class ReplaceDocumentCommand extends ReplaceNodeCommand<Document>
_new, _nodePath, _old| Modifier and Type | Method and Description |
|---|---|
protected void |
addNode(Document doc,
Document node)
Adds the given node to the data model.
|
protected Document |
readNode(Document doc,
Object node)
Unmarshalls a node into the appropriate type.
|
protected void |
removeNode(Document doc,
Document node)
Removes the given node from the data model.
|
execute, undoisNullOrUndefined, typeprotected void removeNode(Document doc, Document node)
ReplaceNodeCommandprotected void addNode(Document doc, Document node)
ReplaceNodeCommandaddNode in class ReplaceNodeCommand<Document>ReplaceNodeCommand.addNode(io.apicurio.datamodels.core.models.Document, io.apicurio.datamodels.core.models.Node)protected Document readNode(Document doc, Object node)
ReplaceNodeCommandreadNode in class ReplaceNodeCommand<Document>ReplaceNodeCommand.readNode(io.apicurio.datamodels.core.models.Document, java.lang.Object)Copyright © 2019 Red Hat. All rights reserved.