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:namespaceList.
025: *
026: * <p>
027: * <pre>
028: * <code>
029: * <xs:simpleType name="namespaceList">
030: * <xs:annotation>
031: * <xs:documentation> A utility type, not for public use</xs:documentation>
032: * </xs:annotation>
033: * <xs:union>
034: * <xs:simpleType>
035: * <xs:restriction base="xs:token">
036: * <xs:enumeration value="##any"/>
037: * <xs:enumeration value="##other"/>
038: * </xs:restriction>
039: * </xs:simpleType>
040: * <xs:simpleType>
041: * <xs:list>
042: * <xs:simpleType>
043: * <xs:union memberTypes="xs:anyURI">
044: * <xs:simpleType>
045: * <xs:restriction base="xs:token">
046: * <xs:enumeration value="##targetNamespace"/>
047: * <xs:enumeration value="##local"/>
048: * </xs:restriction>
049: * </xs:simpleType>
050: * </xs:union>
051: * </xs:simpleType>
052: * </xs:list>
053: * </xs:simpleType>
054: * </xs:union>
055: * </xs:simpleType>
056: *
057: * </code>
058: * </pre>
059: * </p>
060: *
061: * @generated
062: */
063: public class XSNamespaceListBinding implements SimpleBinding {
064: /**
065: * @generated
066: */
067: public QName getTarget() {
068: return XS.NAMESPACELIST;
069: }
070:
071: /**
072: * <!-- begin-user-doc -->
073: * <!-- end-user-doc -->
074: *
075: * @generated modifiable
076: */
077: public int getExecutionMode() {
078: return AFTER;
079: }
080:
081: /**
082: * <!-- begin-user-doc -->
083: * <!-- end-user-doc -->
084: *
085: * @generated modifiable
086: */
087: public Class getType() {
088: return null;
089: }
090:
091: /**
092: * <!-- begin-user-doc -->
093: * <!-- end-user-doc -->
094: *
095: * @generated modifiable
096: */
097: public Object parse(InstanceComponent instance, Object value)
098: throws Exception {
099: //TODO: implement me
100: return null;
101: }
102:
103: /**
104: * <!-- begin-user-doc -->
105: * <!-- end-user-doc -->
106: *
107: * @generated modifiable
108: */
109: public String encode(Object object, String value) {
110: //TODO: implement
111: return null;
112: }
113: }
|