Package io.kjson.yaml
Class YAMLDocument
-
- All Implemented Interfaces:
public final class YAMLDocumentA YAML document - the result of a YAML parsing operation.
Peter Wall
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerdefaultMajorVersionpublic final static IntegerdefaultMinorVersionprivate final JSONValuerootNodeprivate final IntegermajorVersionprivate final IntegerminorVersion
-
Constructor Summary
Constructors Constructor Description YAMLDocument(JSONValue rootNode, Map<JSONPointer, String> tagMap)YAMLDocument(JSONValue rootNode, Map<JSONPointer, String> tagMap, Integer majorVersion, Integer minorVersion)
-
Method Summary
Modifier and Type Method Description final JSONValuegetRootNode()final IntegergetMajorVersion()final IntegergetMinorVersion()final StringgetTag(JSONPointer pointer)Get the tag associated with the specified node. -
-
Method Detail
-
getRootNode
final JSONValue getRootNode()
-
getMajorVersion
final Integer getMajorVersion()
-
getMinorVersion
final Integer getMinorVersion()
-
-
-
-