public XmlWrapperParser createParser(String content) { try { ByteArrayInputStream inputStream = new ByteArrayInputStream(content.getBytes(JsonEncoding.UTF8.toString())); return new XmlWrapperParser(this, inputStream, getSupportedFormat()); } catch (Exception e) { e.printStackTrace(); throw new KriptonRuntimeException(e); } }
public XmlWrapperParser createParser(String content) { try { ByteArrayInputStream inputStream = new ByteArrayInputStream(content.getBytes(JsonEncoding.UTF8.toString())); return new XmlWrapperParser(this, inputStream, getSupportedFormat()); } catch (Exception e) { e.printStackTrace(); throw new KriptonRuntimeException(e); } }