public ElementNode parseFormat(String text) throws DocumentException, UnsupportedEncodingException { Document document = Dom4JReader.getFormatDocument(text); return parse(document); }
public ElementNode parseFormat(File file) throws DocumentException, IOException, UnsupportedEncodingException { Document document = Dom4JReader.getFormatDocument(file); return parse(document); }
public ElementNode parseFormat(InputStream inputStream) throws DocumentException, IOException, UnsupportedEncodingException { Document document = Dom4JReader.getFormatDocument(inputStream); return parse(document); }