Examples of Locktype


Examples of net.opengis.wfs.LockType

     *
     * @generated modifiable
     */
    public Object parse(ElementInstance instance, Node node, Object value)
        throws Exception {
        LockType lock = wfsfactory.createLockType();

        //<xsd:element maxOccurs="1" minOccurs="0" ref="ogc:Filter"/>
        if (node.hasChild(Filter.class)) {
            lock.setFilter((Filter) node.getChildValue(Filter.class));
        }

        //<xsd:attribute name="handle" type="xsd:string" use="optional"/>
        if (node.hasAttribute("handle")) {
            lock.setHandle((String) node.getAttributeValue("handle"));
        }

        //<xsd:attribute name="typeName" type="xsd:QName" use="required"/>
        lock.setTypeName((QName) node.getAttributeValue("typeName"));

        return lock;
    }
View Full Code Here

Examples of org.apache.wink.webdav.model.Locktype

        request.setContentType(MediaType.APPLICATION_XML);
        Lockinfo lockinfo = new Lockinfo();
        Lockscope lockscope = new Lockscope();
        lockscope.setExclusive(new Exclusive());
        lockinfo.setLockscope(lockscope);
        Locktype locktype = new Locktype();
        locktype.setWrite(new Write());
        lockinfo.setLocktype(locktype);
        StringWriter writer = new StringWriter();
        WebDAVModelHelper.marshal(WebDAVModelHelper.createMarshaller(),
                                  lockinfo,
                                  writer,
View Full Code Here

Examples of org.geoserver.GeoServerConfigurationLock.LockType

        // who cares?
    }

    @Override
    public void onEndRequest() {
        LockType type = THREAD_LOCK.get();
        if (type != null) {
            THREAD_LOCK.remove();
            locker.unlock(type);
        }
    }
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.