package org.geotools.wms.v1_1_1.bindings;


import java.net.URL;

import org.geotools.xml.*;


import javax.xml.namespace.QName;

/**
 * Binding object for the type :_Get.
 *
 * <p>
 *	<pre>
 *	 <code>
 *  &lt;xs:complexType name="_Get"&gt;
 *      &lt;xs:sequence&gt;
 *          &lt;xs:element ref="OnlineResource"/&gt;
 *      &lt;/xs:sequence&gt;
 *  &lt;/xs:complexType&gt; 
 *		
 *	  </code>
 *	 </pre>
 * </p>
 *
 * @generated
 */
public class _GetBinding extends AbstractComplexBinding {

	/**
	 * @generated
	 */
	public QName getTarget() {
		return WMSV1_1_1._Get;
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 *	
	 * @generated modifiable
	 */	
	public Class getType() {
		return Object[].class;
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 *	
	 * @generated modifiable
	 */	
	public Object parse(ElementInstance instance, Node node, Object value) 
		throws Exception {
		Object[] ret = new Object[2];
		ret[0] = "Get";
		ret[1] = (URL)node.getChildValue("OnlineResource");
		return ret;
	}

}