package org.geotools.wms.v1_1_1.bindings;


import org.geotools.xml.*;


import javax.xml.namespace.QName;

/**
 * Binding object for the type :_Post.
 *
 * <p>
 *	<pre>
 *	 <code>
 *  &lt;xs:complexType name="_Post"&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 _PostBinding extends AbstractComplexBinding {

	/**
	 * @generated
	 */
	public QName getTarget() {
		return WMSV1_1_1._Post;
	}
	
	/**
	 * <!-- 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] = "Post";
		ret[1] = node.getChildValue("OnlineResource");
		return ret;
	}

}