public void marshal(Object value, HierarchicalStreamWriter writer, MarshallingContext context) {
}
public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) {
Tags tags = new Tags();
String values = reader.getValue();
if(values.equals("")) {
return tags;
}
for (String value : values.trim().split("\\s+")) {
tags.add(value);
}
return tags;
}