org.yaml.snakeyaml.nodes
Class MappingNode
java.lang.Object
org.yaml.snakeyaml.nodes.Node
org.yaml.snakeyaml.nodes.CollectionNode
org.yaml.snakeyaml.nodes.MappingNode
public class MappingNode
- extends CollectionNode
- See Also:
- PyYAML for more information
Methods inherited from class org.yaml.snakeyaml.nodes.Node |
equals, getEndMark, getStartMark, getTag, getType, hashCode, isResolved, isTwoStepsConstruction, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructor |
MappingNode
public MappingNode(String tag,
boolean resolved,
List<NodeTuple> value,
Mark startMark,
Mark endMark,
Boolean flowStyle)
MappingNode
public MappingNode(String tag,
List<NodeTuple> value,
Boolean flowStyle)
getNodeId
public NodeId getNodeId()
- Description copied from class:
Node
- For error reporting.
- Specified by:
getNodeId
in class Node
- Returns:
- scalar, sequence, mapping
- See Also:
variable 'id' in PyYAML
getValue
public List<NodeTuple> getValue()
setValue
public void setValue(List<NodeTuple> merge)
setKeyType
public void setKeyType(Class<? extends Object> keyType)
setValueType
public void setValueType(Class<? extends Object> valueType)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2010. All Rights Reserved.