@Test public void xmlDoc() { Document xmlDocument = XMLUtils.getXmlDocument(xmlString); Check.assertEquals(3, xmlDocument.getElementsByTagName("book").getLength(), "Book count in xml mismatched"); }
public Document getXmlDocument() { return xmlDocument; }
XMLUtils { public Document getXmlDocument() { return xmlDocument; } }
XMLUtils { public Document getXmlDocument() { return xmlDocument; } XMLUtils(String xmlString); }
XMLUtils { public Document getXmlDocument() { return xmlDocument; } XMLUtils(String xmlString); List<Double> getDoubleValues(String tagName); List<Long> getLongValues(String tagName); List<Integer> getIntValues(String tagName); List<Boolean> getBooleanValues(String tagName); List<String> getValues(String tagName); Map<String, List<String>> getValues(List<String> tagName); Document getXmlDocument(); static Document getXmlDocument(String xmlString); static XmlMapper getXmlMapper(); static T deSerialize(String xml, Class<T> tClass); static T deSerialize(InputStream in, Class<T> tClass); static String serialize(T obj); }
XMLUtils { public Document getXmlDocument() { return xmlDocument; } XMLUtils(String xmlString); List<Double> getDoubleValues(String tagName); List<Long> getLongValues(String tagName); List<Integer> getIntValues(String tagName); List<Boolean> getBooleanValues(String tagName); List<String> getValues(String tagName); Map<String, List<String>> getValues(List<String> tagName); Document getXmlDocument(); static Document getXmlDocument(String xmlString); static XmlMapper getXmlMapper(); static T deSerialize(String xml, Class<T> tClass); static T deSerialize(InputStream in, Class<T> tClass); static String serialize(T obj);  }