public class ScalarTupleBuilder extends DefaultTupleBuilder<org.yaml.snakeyaml.nodes.ScalarNode,org.yaml.snakeyaml.nodes.ScalarNode>
logger| Constructor and Description |
|---|
ScalarTupleBuilder(String field,
Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildKey(Object parent,
org.yaml.snakeyaml.nodes.ScalarNode tuple)
Build the parent object with the given key
|
Object |
buildValue(Object parent,
org.yaml.snakeyaml.nodes.ScalarNode node)
Builds the java model for the given node and set it to the parent object
|
addBuildersFor, getBuilderForTuple, getBuilders, getChildrenTupleBuilders, getHandler, getParent, processPojoAnnotations, setChildrenTupleBuilders, setHandler, setParentNodeBuilder, unaliaspublic Object buildValue(Object parent, org.yaml.snakeyaml.nodes.ScalarNode node)
NodeBuilderbuildValue in interface NodeBuilder<org.yaml.snakeyaml.nodes.ScalarNode>buildValue in class DefaultTupleBuilder<org.yaml.snakeyaml.nodes.ScalarNode,org.yaml.snakeyaml.nodes.ScalarNode>parent - The parent objectnode - The node to build the model frompublic void buildKey(Object parent, org.yaml.snakeyaml.nodes.ScalarNode tuple)
TupleBuilderbuildKey in interface TupleBuilder<org.yaml.snakeyaml.nodes.ScalarNode,org.yaml.snakeyaml.nodes.ScalarNode>buildKey in class DefaultTupleBuilder<org.yaml.snakeyaml.nodes.ScalarNode,org.yaml.snakeyaml.nodes.ScalarNode>parent - The object to be modifedtuple - The node of the keyCopyright © 2020. All rights reserved.