public interface TupleBuilder<K extends org.yaml.snakeyaml.nodes.Node,V extends org.yaml.snakeyaml.nodes.Node> extends NodeBuilder<V>
| Modifier and Type | Method and Description |
|---|---|
void |
buildKey(Object parent,
K tuple)
Build the parent object with the given key
|
NodeBuilder |
getBuilderForTuple(org.yaml.snakeyaml.nodes.NodeTuple tuple)
Returns the node child builder that can handle the specified NodeTuple.
|
Collection<TupleBuilder<?,?>> |
getChildrenTupleBuilders()
The builders for the children NodeTuples
|
TupleHandler |
getHandler()
The handler that specifies whether or not this build can handle a given NodeTuple
|
void |
setChildrenTupleBuilders(Map<String,TupleBuilder<?,?>> nestedBuilders) |
void |
setHandler(TupleHandler handler) |
buildValue, setParentNodeBuilderNodeBuilder getBuilderForTuple(org.yaml.snakeyaml.nodes.NodeTuple tuple)
tuple - The tuple to whom builder will handlevoid buildKey(Object parent, K tuple)
parent - The object to be modifedtuple - The node of the keyTupleHandler getHandler()
Collection<TupleBuilder<?,?>> getChildrenTupleBuilders()
void setHandler(TupleHandler handler)
void setChildrenTupleBuilders(Map<String,TupleBuilder<?,?>> nestedBuilders)
Copyright © 2016. All rights reserved.