List of usage examples for javax.xml.parsers SAXParser getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.smartfrog.services.xml.test.system.XmlParserTest.java
/** * as crimson is so common, we skip this test * * @throws SAXException/*from w w w . j a v a 2s . c o m*/ * @throws ParserConfigurationException */ public void testSaxParserExists() throws SAXException, ParserConfigurationException { SAXParserFactory factory = SAXParserFactory.newInstance(); assertNotNull("Sax parser factory", factory); SAXParser parser = factory.newSAXParser(); assertNotNull("Sax parser ", parser); logger.info("Sax 1 Parser=" + parser.getClass().getName()); }