use of com.thoughtworks.xstream.io.xml.XppDomReader in project camel by apache.
the class MapOfMapsConverterTest method readerFor.
HierarchicalStreamReader readerFor(final String xml) throws XmlPullParserException, IOException {
parser.setInput(new StringReader(xml));
final XppDom dom = XppDom.build(parser);
final HierarchicalStreamReader reader = new XppDomReader(dom);
return reader;
}
Aggregations