KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thoughtworks > xstream > io > xml > StaxReaderTest


1 package com.thoughtworks.xstream.io.xml;
2
3 import com.thoughtworks.xstream.io.HierarchicalStreamReader;
4
5 import java.io.StringReader JavaDoc;
6
7 public class StaxReaderTest extends AbstractXMLReaderTest {
8     protected HierarchicalStreamReader createReader(String JavaDoc xml) throws Exception JavaDoc {
9         StaxDriver driver = new StaxDriver();
10         return driver.createReader(new StringReader JavaDoc(xml));
11     }
12
13     // inherits tests from superclass
14
}
15
Popular Tags