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:ENTITIES.
025: *
026: * <p>
027: * <pre>
028: * <code>
029: * <xs:simpleType name="ENTITIES" id="ENTITIES">
030: * <xs:annotation>
031: * <xs:appinfo>
032: * <hfp:hasFacet name="length"/>
033: * <hfp:hasFacet name="minLength"/>
034: * <hfp:hasFacet name="maxLength"/>
035: * <hfp:hasFacet name="enumeration"/>
036: * <hfp:hasFacet name="whiteSpace"/>
037: * <hfp:hasFacet name="pattern"/>
038: * <hfp:hasProperty name="ordered" value="false"/>
039: * <hfp:hasProperty name="bounded" value="false"/>
040: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
041: * <hfp:hasProperty name="numeric" value="false"/>
042: * </xs:appinfo>
043: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>
044: * </xs:annotation>
045: * <xs:restriction>
046: * <xs:simpleType>
047: * <xs:list itemType="xs:ENTITY"/>
048: * </xs:simpleType>
049: * <xs:minLength value="1" id="ENTITIES.minLength"/>
050: * </xs:restriction>
051: * </xs:simpleType>
052: *
053: * </code>
054: * </pre>
055: * </p>
056: *
057: * @generated
058: */
059: public class XSENTITIESBinding implements SimpleBinding {
060: /**
061: * @generated
062: */
063: public QName getTarget() {
064: return XS.ENTITIES;
065: }
066:
067: /**
068: * <!-- begin-user-doc -->
069: * <!-- end-user-doc -->
070: *
071: * @generated modifiable
072: */
073: public int getExecutionMode() {
074: return AFTER;
075: }
076:
077: /**
078: * <!-- begin-user-doc -->
079: * <!-- end-user-doc -->
080: *
081: * @generated modifiable
082: */
083: public Class getType() {
084: return null;
085: }
086:
087: /**
088: * <!-- begin-user-doc -->
089: * <!-- end-user-doc -->
090: *
091: * @generated modifiable
092: */
093: public Object parse(InstanceComponent instance, Object value)
094: throws Exception {
095: //TODO: implement me
096: return null;
097: }
098:
099: /**
100: * <!-- begin-user-doc -->
101: * <!-- end-user-doc -->
102: *
103: * @generated modifiable
104: */
105: public String encode(Object object, String value) {
106: //TODO: implement
107: return null;
108: }
109: }
|