Package org.apache.vysper.xml.sax.impl.TestHandler

Examples of org.apache.vysper.xml.sax.impl.TestHandler.StartElementEvent


    protected void assertStartElement(String expectedUri, String expectedLocalName, String expectedQName,
            Attributes expectedAttributes, TestEvent actual) {
        printIfFatal(actual);
        if (!(actual instanceof StartElementEvent))
            fail("Event must be StartElementEvent but was " + actual.getClass());
        StartElementEvent startElementEvent = (StartElementEvent) actual;
        assertEquals("URI", expectedUri, startElementEvent.getURI());
        assertEquals("local name", expectedLocalName, startElementEvent.getLocalName());
        assertEquals("qName", expectedQName, startElementEvent.getQName());
        assertAttributes(expectedAttributes, startElementEvent.getAtts());
    }
View Full Code Here

TOP

Related Classes of org.apache.vysper.xml.sax.impl.TestHandler.StartElementEvent

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.