public interface YamlDocument
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(boolean value) |
void |
addElement(Number value) |
void |
addElement(String value) |
void |
addElement(YamlElement element) |
void |
deleteElement(int element) |
boolean |
deleteEntry(String key) |
YamlElement |
getElement(int item) |
YamlEntry |
getEntry(int index) |
YamlEntry |
getEntry(String key) |
String |
getTag() |
void |
setElement(int item,
boolean value) |
void |
setElement(int item,
Number value) |
void |
setElement(int item,
String value) |
void |
setElement(int item,
YamlElement element) |
void |
setEntry(String key,
boolean value) |
void |
setEntry(String key,
Number value) |
void |
setEntry(String key,
String value) |
void |
setEntry(String key,
YamlElement value) |
int |
size() |
String getTag()
int size()
YamlEntry getEntry(String key) throws YamlException
YamlExceptionYamlEntry getEntry(int index) throws YamlException
YamlExceptionboolean deleteEntry(String key) throws YamlException
YamlExceptionvoid setEntry(String key, boolean value) throws YamlException
YamlExceptionvoid setEntry(String key, Number value) throws YamlException
YamlExceptionvoid setEntry(String key, String value) throws YamlException
YamlExceptionvoid setEntry(String key, YamlElement value) throws YamlException
YamlExceptionYamlElement getElement(int item) throws YamlException
YamlExceptionvoid deleteElement(int element)
throws YamlException
YamlExceptionvoid setElement(int item,
boolean value)
throws YamlException
YamlExceptionvoid setElement(int item,
Number value)
throws YamlException
YamlExceptionvoid setElement(int item,
String value)
throws YamlException
YamlExceptionvoid setElement(int item,
YamlElement element)
throws YamlException
YamlExceptionvoid addElement(boolean value)
throws YamlException
YamlExceptionvoid addElement(Number value) throws YamlException
YamlExceptionvoid addElement(String value) throws YamlException
YamlExceptionvoid addElement(YamlElement element) throws YamlException
YamlExceptionCopyright © 2020. All rights reserved.