Package com.amihaiemil.eoyaml
Interface Comment
-
- All Known Subinterfaces:
ScalarComment
public interface CommentA YAML comment.- Since:
- 4.2.0
- Version:
- $Id: aff7134e2607b5f6db740ef27a5aed734008e092 $
- Author:
- Mihai Andronache (amihaiemil@gmail.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringvalue()The actual comment.YamlNodeyamlNode()Yaml node to which this comment refers.
-
-
-
Method Detail
-
yamlNode
YamlNode yamlNode()
Yaml node to which this comment refers.- Returns:
- YamlNode.
-
value
String value()
The actual comment.- Returns:
- String value or empty String if there is no comment. This method should always return the comment without the "#" at the beginning. The hash symbol will be added when printing.
-
-