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