001: /*
002: * GeoTools - OpenSource mapping toolkit
003: * http://geotools.org
004: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation;
009: * version 2.1 of the License.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: */
016: package org.geotools.xs.bindings;
017:
018: import javax.xml.namespace.QName;
019:
020: import org.geotools.xml.InstanceComponent;
021: import org.geotools.xml.SimpleBinding;
022:
023: /**
024: * Binding object for the type http://www.w3.org/2001/XMLSchema:derivationSet.
025: *
026: * <p>
027: * <pre>
028: * <code>
029: * <xs:simpleType name="derivationSet">
030: * <xs:annotation>
031: * <xs:documentation> A utility type, not for public use</xs:documentation>
032: * <xs:documentation> #all or (possibly empty) subset of
033: * {extension, restriction}</xs:documentation>
034: * </xs:annotation>
035: * <xs:union>
036: * <xs:simpleType>
037: * <xs:restriction base="xs:token">
038: * <xs:enumeration value="#all"/>
039: * </xs:restriction>
040: * </xs:simpleType>
041: * <xs:simpleType>
042: * <xs:list itemType="xs:reducedDerivationControl"/>
043: * </xs:simpleType>
044: * </xs:union>
045: * </xs:simpleType>
046: *
047: * </code>
048: * </pre>
049: * </p>
050: *
051: * @generated
052: */
053: public class XSDerivationSetBinding implements SimpleBinding {
054: /**
055: * @generated
056: */
057: public QName getTarget() {
058: return XS.DERIVATIONSET;
059: }
060:
061: /**
062: * <!-- begin-user-doc -->
063: * <!-- end-user-doc -->
064: *
065: * @generated modifiable
066: */
067: public int getExecutionMode() {
068: return AFTER;
069: }
070:
071: /**
072: * <!-- begin-user-doc -->
073: * <!-- end-user-doc -->
074: *
075: * @generated modifiable
076: */
077: public Class getType() {
078: return null;
079: }
080:
081: /**
082: * <!-- begin-user-doc -->
083: * <!-- end-user-doc -->
084: *
085: * @generated modifiable
086: */
087: public Object parse(InstanceComponent instance, Object value)
088: throws Exception {
089: //TODO: implement me
090: return null;
091: }
092:
093: /**
094: * <!-- begin-user-doc -->
095: * <!-- end-user-doc -->
096: *
097: * @generated modifiable
098: */
099: public String encode(Object object, String value) {
100: //TODO: implement
101: return null;
102: }
103: }
|