package org.geotools.wms.v1_1_1.bindings;


import org.geotools.xml.*;


import javax.xml.namespace.QName;

/**
 * Binding object for the type :_KeywordList.
 *
 * <p>
 *	<pre>
 *	 <code>
 *  &lt;xs:complexType name="_KeywordList"&gt;
 *      &lt;xs:sequence&gt;
 *          &lt;xs:element maxOccurs="unbounded" minOccurs="0" ref="Keyword"/&gt;
 *      &lt;/xs:sequence&gt;
 *  &lt;/xs:complexType&gt; 
 *		
 *	  </code>
 *	 </pre>
 * </p>
 *
 * @generated
 */
public class _KeywordListBinding extends AbstractComplexBinding {

	/**
	 * @generated
	 */
	public QName getTarget() {
		return WMSV1_1_1._KeywordList;
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 *	
	 * @generated modifiable
	 */	
	public Class getType() {
		return String[].class;
	}
	
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 *	
	 * @generated modifiable
	 */	
	public Object parse(ElementInstance instance, Node node, Object value) 
		throws Exception {
		return node.getChildValues("Keyword").toArray(new String[node.getChildValues("Keyword").size()]);
	}

}