String () { final YAMLValue value = getValue(); if (value instanceof YAMLScalar){ return ((YAMLScalar)value).getTextValue(); } else if (value instanceof YAMLCompoundValue) { return ((YAMLCompoundValue)value).getTextValue(); } return ""; }