| com.sun.syndication.unittest.TestXmlReader
TestXmlReader | public class TestXmlReader extends TestCase (Code) | | author: pat, tucu |
Method Summary | |
protected void | _testHttpInvalid(String cT, String bomEnc, String streamEnc, String prologEnc) | protected void | _testHttpLenient(String cT, String bomEnc, String streamEnc, String prologEnc, String shouldbe) | public void | _testHttpValid(String cT, String bomEnc, String streamEnc, String prologEnc) | protected void | _testRawBomInvalid(String bomEnc, String streamEnc, String prologEnc) | protected void | _testRawBomValid(String encoding) | protected void | _testRawNoBomInvalid(String encoding) | protected void | _testRawNoBomValid(String encoding) | protected InputStream | getXmlStream(String bomType, String xmlType, String streamEnc, String prologEnc) | public static void | main(String[] args) | public void | testHttp() | public void | testRawBom() | public void | testRawNoBom() |
getXmlStream | protected InputStream getXmlStream(String bomType, String xmlType, String streamEnc, String prologEnc) throws IOException(Code) | | Parameters: bomType - no-bom, UTF-16BE-bom, UTF-16LE-bom, UTF-8-bom Parameters: xmlType - xml, xml-prolog, xml-prolog-charset XML stream |
|
|