Examples of VersionedUpdateElementType


Examples of net.opengis.wfsv.VersionedUpdateElementType

     *
     * @generated modifiable
     */
    public Object parse(ElementInstance instance, Node node, Object value)
        throws Exception {
        VersionedUpdateElementType update = wfsvFactory.createVersionedUpdateElementType();

        //<xsd:element maxOccurs="unbounded" ref="wfs:Property">
        update.getProperty().addAll(node.getChildValues(PropertyType.class));

        //<xsd:element maxOccurs="1" minOccurs="0" ref="ogc:Filter">
        update.setFilter((Filter) node.getChildValue(Filter.class));

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

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

        //<xsd:attribute default="x-application/gml:3" name="inputFormat"
        //      type="xsd:string" use="optional">
        if (node.hasAttribute("inputFormat")) {
            update.setInputFormat((String) node.getAttributeValue("inputFormat"));
        }

        //<xsd:attribute name="srsName" type="xsd:anyURI" use="optional">
        if (node.hasAttribute("srsName")) {
            update.setSrsName((URI) node.getAttributeValue("srsName"));
        }

        update.setFeatureVersion((String) node.getAttributeValue("featureVersion"));

        return update;
    }
View Full Code Here

Examples of net.opengis.wfsv.VersionedUpdateElementType

     *
     * @generated modifiable
     */
    public Object parse(ElementInstance instance, Node node, Object value)
        throws Exception {
        VersionedUpdateElementType update = wfsvFactory.createVersionedUpdateElementType();

        //<xsd:element maxOccurs="unbounded" ref="wfs:Property">
        update.getProperty().addAll(node.getChildValues(PropertyType.class));

        //<xsd:element maxOccurs="1" minOccurs="0" ref="ogc:Filter">
        update.setFilter((Filter) node.getChildValue(Filter.class));

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

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

        //<xsd:attribute default="x-application/gml:3" name="inputFormat"
        //      type="xsd:string" use="optional">
        if (node.hasAttribute("inputFormat")) {
            update.setInputFormat((String) node.getAttributeValue("inputFormat"));
        }

        //<xsd:attribute name="srsName" type="xsd:anyURI" use="optional">
        if (node.hasAttribute("srsName")) {
            update.setSrsName((URI) node.getAttributeValue("srsName"));
        }

        update.setFeatureVersion((String) node.getAttributeValue("featureVersion"));

        return update;
    }
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.