01: package org.geotools.wms.v1_1_1.bindings;
02:
03: import java.net.URL;
04:
05: import org.geotools.xml.*;
06:
07: import javax.xml.namespace.QName;
08:
09: /**
10: * Binding object for the type :_Get.
11: *
12: * <p>
13: * <pre>
14: * <code>
15: * <xs:complexType name="_Get">
16: * <xs:sequence>
17: * <xs:element ref="OnlineResource"/>
18: * </xs:sequence>
19: * </xs:complexType>
20: *
21: * </code>
22: * </pre>
23: * </p>
24: *
25: * @generated
26: */
27: public class _GetBinding extends AbstractComplexBinding {
28:
29: /**
30: * @generated
31: */
32: public QName getTarget() {
33: return WMSV1_1_1._Get;
34: }
35:
36: /**
37: * <!-- begin-user-doc -->
38: * <!-- end-user-doc -->
39: *
40: * @generated modifiable
41: */
42: public Class getType() {
43: return Object[].class;
44: }
45:
46: /**
47: * <!-- begin-user-doc -->
48: * <!-- end-user-doc -->
49: *
50: * @generated modifiable
51: */
52: public Object parse(ElementInstance instance, Node node,
53: Object value) throws Exception {
54: Object[] ret = new Object[2];
55: ret[0] = "Get";
56: ret[1] = (URL) node.getChildValue("OnlineResource");
57: return ret;
58: }
59:
60: }
|