Package org.apache.ws.commons.om.util

Examples of org.apache.ws.commons.om.util.ElementHelper


        assertEquals("soapenv", result.getPrefix());
        assertEquals("localonly", result.getLocalPart());
    }

    public void testDefaultQNameCanBeLocal() throws Exception {
        ElementHelper helper=new ElementHelper(element);
        QName result = helper.resolveQName("localonly",false);
        assertEquals("", result.getNamespaceURI());
        assertEquals("localonly", result.getLocalPart());
    }
View Full Code Here


     *
     * @param qname prefixed qname string to resolve
     * @return Returns null for any failure to extract a qname.
     */
    public QName resolveQName(String qname) {
        ElementHelper helper = new ElementHelper(this);
        return helper.resolveQName(qname);
    }
View Full Code Here

     * @param qname
     *            prefixed qname string to resolve
     * @return Returns null for any failure to extract a qname.
     */
    public QName resolveQName(String qname) {
        ElementHelper helper = new ElementHelper(this);
        return helper.resolveQName(qname);
    }
View Full Code Here

TOP

Related Classes of org.apache.ws.commons.om.util.ElementHelper

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.