/* (c) 2014 Open Source Geospatial Foundation - all rights reserved * (c) 2001 - 2013 OpenPlans * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.wfs.xml.v1_0_0; import javax.xml.namespace.QName; import net.opengis.wfs.WfsFactory; import org.geotools.xml.AbstractComplexBinding; import org.geotools.xml.ElementInstance; import org.geotools.xml.Node; /** * Binding object for the type http://www.opengis.net/wfs:NativeType. * * <p> * <pre> * <code> * <xsd:complexType name="NativeType"> * <xsd:attribute name="vendorId" type="xsd:string" use="required"> * <xsd:annotation> * <xsd:documentation> * The vendorId attribute is used to specify the name of * vendor who's vendor specific command the client * application wishes to execute. * </xsd:documentation> * </xsd:annotation> * </xsd:attribute> * <xsd:attribute name="safeToIgnore" type="xsd:boolean" use="required"> * <xsd:annotation> * <xsd:documentation> * In the event that a Web Feature Service does not recognize * the vendorId or does not recognize the vendor specific command, * the safeToIgnore attribute is used to indicate whether the * exception can be safely ignored. A value of TRUE means that * the Web Feature Service may ignore the command. A value of * FALSE means that a Web Feature Service cannot ignore the * command and an exception should be raised if a problem is * encountered. * </xsd:documentation> * </xsd:annotation> * </xsd:attribute> * </xsd:complexType> * * </code> * </pre> * @generated */ public class NativeTypeBinding extends AbstractComplexBinding { WfsFactory wfsfactory; public NativeTypeBinding(WfsFactory wfsfactory) { this.wfsfactory = wfsfactory; } /** * @generated */ public QName getTarget() { return WFS.NATIVETYPE; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Class getType() { return null; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated modifiable */ public Object parse(ElementInstance instance, Node node, Object value) throws Exception { //TODO: implement return null; } }