01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.ows.xml.v1_0;
06:
07: import net.opengis.ows.OwsFactory;
08: import org.geotools.xml.AbstractSimpleBinding;
09: import org.geotools.xml.InstanceComponent;
10: import javax.xml.namespace.QName;
11:
12: /**
13: * Binding object for the type http://www.opengis.net/ows:MimeType.
14: *
15: * <p>
16: * <pre>
17: * <code>
18: * <simpleType name="MimeType">
19: * <annotation>
20: * <documentation>XML encoded identifier of a standard MIME type, possibly a parameterized MIME type. </documentation>
21: * </annotation>
22: * <restriction base="string">
23: * <pattern value="(application|audio|image|text|video|message|multipart|model)/.+(;\s*.+=.+)*"/>
24: * </restriction>
25: * </simpleType>
26: *
27: * </code>
28: * </pre>
29: * </p>
30: *
31: * @generated
32: */
33: public class MimeTypeBinding extends AbstractSimpleBinding {
34: OwsFactory owsfactory;
35:
36: public MimeTypeBinding(OwsFactory owsfactory) {
37: this .owsfactory = owsfactory;
38: }
39:
40: /**
41: * @generated
42: */
43: public QName getTarget() {
44: return OWS.MIMETYPE;
45: }
46:
47: /**
48: * <!-- begin-user-doc -->
49: * <!-- end-user-doc -->
50: *
51: * @generated modifiable
52: */
53: public Class getType() {
54: return null;
55: }
56:
57: /**
58: * <!-- begin-user-doc -->
59: * <!-- end-user-doc -->
60: *
61: * @generated modifiable
62: */
63: public Object parse(InstanceComponent instance, Object value)
64: throws Exception {
65: //TODO: implement
66: return null;
67: }
68: }
|