Package org.activemq.ws.xmlbeans.eventing

Examples of org.activemq.ws.xmlbeans.eventing.SubscribeDocument$Factory


/**
* @version $Revision: 1.1.1.1 $
*/
public class SubscribeParseTest extends TestCase {
    public void testParseXmlBeansUsingURL() throws Exception {
        SubscribeDocument doc = SubscribeDocument.Factory.parse(getClass().getResource("wse-subscribe.xml"));
        //System.out.println("Parsed: " + doc);
    }
View Full Code Here


        XMLStreamReader in = createXMLStreamReader(getClass().getResource("wse-subscribe.xml"));

        XmlObject xmlObject = XmlObject.Factory.parse(in);
        assertTrue("should be a SubscribeDocument: " + xmlObject.getClass(), xmlObject instanceof SubscribeDocument);

        SubscribeDocument doc = (SubscribeDocument) xmlObject;
        //System.out.println("Parsed: " + doc);
    }
View Full Code Here

TOP

Related Classes of org.activemq.ws.xmlbeans.eventing.SubscribeDocument$Factory

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.