Package org.apache.jackrabbit.webdav.jcr.lock

Examples of org.apache.jackrabbit.webdav.jcr.lock.JcrActiveLock.toXml()


        Lock l = new TestLock(jcrtimeout);
        JcrActiveLock al = new JcrActiveLock(l);

        Document d = DomUtil.createDocument();
        Element activeLock = al.toXml(d);
        assertEquals("activelock", activeLock.getLocalName());
        NodeList nl = activeLock.getElementsByTagNameNS("DAV:", "timeout");

        if (expectedString == null) {
            assertEquals(0, nl.getLength());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.