001: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
002: * This code is licensed under the GPL 2.0 license, availible at the root
003: * application directory.
004: */
005: package org.geoserver.wfs.xml.v1_1_0;
006:
007: import net.opengis.wfs.WfsFactory;
008: import org.geotools.xml.AbstractComplexBinding;
009: import org.geotools.xml.ElementInstance;
010: import org.geotools.xml.Node;
011: import javax.xml.namespace.QName;
012:
013: /**
014: * Binding object for the type http://www.opengis.net/wfs:MetadataURLType.
015: *
016: * <p>
017: * <pre>
018: * <code>
019: * <xsd:complexType name="MetadataURLType">
020: * <xsd:annotation>
021: * <xsd:documentation>
022: * A Web Feature Server MAY use zero or more MetadataURL
023: * elements to offer detailed, standardized metadata about
024: * the data underneath a particular feature type. The type
025: * attribute indicates the standard to which the metadata
026: * complies; the format attribute indicates how the metadata is
027: * structured. Two types are defined at present:
028: * 'TC211' or 'ISO19115' = ISO TC211 19115;
029: * 'FGDC' = FGDC CSDGM.
030: * 'ISO19139' = ISO 19139
031: * </xsd:documentation>
032: * </xsd:annotation>
033: * <xsd:simpleContent>
034: * <xsd:extension base="xsd:string">
035: * <xsd:attribute name="type" use="required">
036: * <xsd:simpleType>
037: * <xsd:restriction base="xsd:NMTOKEN">
038: * <xsd:enumeration value="TC211"/>
039: * <xsd:enumeration value="FGDC"/>
040: * <xsd:enumeration value="19115"/>
041: * <xsd:enumeration value="19139"/>
042: * </xsd:restriction>
043: * </xsd:simpleType>
044: * </xsd:attribute>
045: * <xsd:attribute name="format" use="required">
046: * <xsd:simpleType>
047: * <xsd:restriction base="xsd:NMTOKEN">
048: * <xsd:enumeration value="text/xml"/>
049: * <xsd:enumeration value="text/html"/>
050: * <xsd:enumeration value="text/sgml"/>
051: * <xsd:enumeration value="text/plain"/>
052: * </xsd:restriction>
053: * </xsd:simpleType>
054: * </xsd:attribute>
055: * </xsd:extension>
056: * </xsd:simpleContent>
057: * </xsd:complexType>
058: *
059: * </code>
060: * </pre>
061: * </p>
062: *
063: * @generated
064: */
065: public class MetadataURLTypeBinding extends AbstractComplexBinding {
066: WfsFactory wfsfactory;
067:
068: public MetadataURLTypeBinding(WfsFactory wfsfactory) {
069: this .wfsfactory = wfsfactory;
070: }
071:
072: /**
073: * @generated
074: */
075: public QName getTarget() {
076: return WFS.METADATAURLTYPE;
077: }
078:
079: /**
080: * <!-- begin-user-doc -->
081: * <!-- end-user-doc -->
082: *
083: * @generated modifiable
084: */
085: public Class getType() {
086: return null;
087: }
088:
089: /**
090: * <!-- begin-user-doc -->
091: * <!-- end-user-doc -->
092: *
093: * @generated modifiable
094: */
095: public Object parse(ElementInstance instance, Node node,
096: Object value) throws Exception {
097: //TODO: implement
098: return null;
099: }
100: }
|