public class SequenceTupleBuilder extends DefaultTupleBuilder<org.yaml.snakeyaml.nodes.Node,org.yaml.snakeyaml.nodes.SequenceNode> implements SequenceBuilder
logger| Constructor and Description |
|---|
SequenceTupleBuilder(String fieldName,
Type itemType) |
| Modifier and Type | Method and Description |
|---|---|
Object |
buildValue(Object parent,
org.yaml.snakeyaml.nodes.SequenceNode node)
Builds the java model for the given node and set it to the parent object
|
protected String |
getFieldName() |
NodeBuilder |
getItemBuilder()
Returns the builder for the items of this sequence
|
addBuildersFor, buildKey, getBuilderForTuple, getBuilders, getChildrenTupleBuilders, getHandler, getParent, processPojoAnnotations, setChildrenTupleBuilders, setHandler, setParentNodeBuilder, unaliasprotected String getFieldName()
public Object buildValue(Object parent, org.yaml.snakeyaml.nodes.SequenceNode node)
NodeBuilderbuildValue in interface NodeBuilder<org.yaml.snakeyaml.nodes.SequenceNode>buildValue in class DefaultTupleBuilder<org.yaml.snakeyaml.nodes.Node,org.yaml.snakeyaml.nodes.SequenceNode>parent - The parent objectnode - The node to build the model frompublic NodeBuilder getItemBuilder()
SequenceBuildergetItemBuilder in interface SequenceBuilderCopyright © 2017. All rights reserved.