Code example for Element

Methods: getTagName

0
	} 
 
	@Test 
	public void testGetElementsByTagName() throws Exception { 
		Element element = parser.getDocumentRoot();
		String tagName = element.getTagName();
		List<Element> list =parser.getElementListByTag(element, tagName);
		assertNotNull(list);
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java