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