ClasspathExtractor implements ContentHandler { public URL[] getClasspathEntries() { final URL[] urls = new URL[entries.size()]; return entries.toArray(urls); }  URL[] getClasspathEntries(); String getLoaderRepostory(); void startDocument(); void characters(final char[] ch, final int start, final int length); void endDocument(); void endElement(final String uri, final String localName,
            final String name); void endPrefixMapping(final String prefix); void ignorableWhitespace(final char[] ch, final int start,
            final int length); void processingInstruction(final String target, final String data); void setDocumentLocator(final Locator locator); void skippedEntity(final String name); void startElement(final String uri, final String localName,
            final String name, final Attributes atts); void startPrefixMapping(final String prefix, final String uri);  }
@Test public void testGetClasspathEntries() throws Exception { final TransformerFactory factory = TransformerFactory.newInstance(); final Transformer transformer = factory.newTransformer(); final Source source = new StreamSource("../org.jvoicexml.config/src/test/resources/config/test-implementation.xml"); final ClasspathExtractor extractor = new ClasspathExtractor(); final Result result = new SAXResult(extractor); transformer.transform(source, result); final URL[] urls = extractor.getClasspathEntries(); Assert.assertEquals(1, urls.length); Assert.assertTrue(urls[0].toString().indexOf("src/test/java") > 0); }