Package com.ctc.wstx.stax

Examples of com.ctc.wstx.stax.MinimalInputFactory


public class TestInputFactory
    extends BaseWstxTest
{
    public void testSubsetFactories()
    {
        MinimalInputFactory f = MinimalInputFactory.newMinimalInstance();

        ReaderConfig cfg = f.getConfig();
        assertNotNull(cfg);

        assertNull(f.getXMLResolver());
        assertNull(f.getXMLReporter());
        MyReporter rep = new MyReporter();
        f.setXMLReporter(rep);
        assertEquals(rep, f.getXMLReporter());

        assertFalse(f.isPropertySupported("foobar"));
    }
View Full Code Here

TOP

Related Classes of com.ctc.wstx.stax.MinimalInputFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.