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.AbstractComplexBinding;
09: import org.geotools.xml.ElementInstance;
10: import org.geotools.xml.Node;
11: import javax.xml.namespace.QName;
12:
13: /**
14: * Binding object for the type http://www.opengis.net/ows:MetadataType.
15: *
16: * <p>
17: * <pre>
18: * <code>
19: * <complexType name="MetadataType">
20: * <annotation>
21: * <documentation>This element either references or contains more metadata about the element that includes this element. To reference metadata stored remotely, at least the xlinks:href attribute in xlink:simpleLink shall be included. Either at least one of the attributes in xlink:simpleLink or a substitute for the AbstractMetaData element shall be included, but not both. An Implementation Specification can restrict the contents of this element to always be a reference or always contain metadata. (Informative: This element was adapted from the metaDataProperty element in GML 3.0.) </documentation>
22: * </annotation>
23: * <sequence>
24: * <element minOccurs="0" ref="ows:AbstractMetaData"/>
25: * </sequence>
26: * <attributeGroup ref="xlink:simpleLink">
27: * <annotation>
28: * <documentation>Reference to metadata recorded elsewhere, either external to this XML document or within it. Whenever practical, the xlink:href attribute with type anyURI should include a URL from which this metadata can be electronically retrieved. </documentation>
29: * </annotation>
30: * </attributeGroup>
31: * <attribute name="about" type="anyURI" use="optional">
32: * <annotation>
33: * <documentation>Optional reference to the aspect of the element which includes this "metadata" element that this metadata provides more information about. </documentation>
34: * </annotation>
35: * </attribute>
36: * </complexType>
37: *
38: * </code>
39: * </pre>
40: * </p>
41: *
42: * @generated
43: */
44: public class MetadataTypeBinding extends AbstractComplexBinding {
45: OwsFactory owsfactory;
46:
47: public MetadataTypeBinding(OwsFactory owsfactory) {
48: this .owsfactory = owsfactory;
49: }
50:
51: /**
52: * @generated
53: */
54: public QName getTarget() {
55: return OWS.METADATATYPE;
56: }
57:
58: /**
59: * <!-- begin-user-doc -->
60: * <!-- end-user-doc -->
61: *
62: * @generated modifiable
63: */
64: public Class getType() {
65: return null;
66: }
67:
68: /**
69: * <!-- begin-user-doc -->
70: * <!-- end-user-doc -->
71: *
72: * @generated modifiable
73: */
74: public Object parse(ElementInstance instance, Node node,
75: Object value) throws Exception {
76: //TODO: implement
77: return null;
78: }
79: }
|