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.AbstractComplexBinding;
021: import org.geotools.xml.ElementInstance;
022: import org.geotools.xml.Node;
023: import org.picocontainer.MutablePicoContainer;
024:
025: /**
026: * Binding object for the type http://www.w3.org/2001/XMLSchema:explicitGroup.
027: *
028: * <p>
029: * <pre>
030: * <code>
031: * <xs:complexType name="explicitGroup">
032: * <xs:annotation>
033: * <xs:documentation> group type for the three kinds of group</xs:documentation>
034: * </xs:annotation>
035: * <xs:complexContent>
036: * <xs:restriction base="xs:group">
037: * <xs:sequence>
038: * <xs:element ref="xs:annotation" minOccurs="0"/>
039: * <xs:group ref="xs:nestedParticle" minOccurs="0" maxOccurs="unbounded"/>
040: * </xs:sequence>
041: * <xs:attribute name="name" type="xs:NCName" use="prohibited"/>
042: * <xs:attribute name="ref" type="xs:QName" use="prohibited"/>
043: * <xs:anyAttribute namespace="##other" processContents="lax"/>
044: * </xs:restriction>
045: * </xs:complexContent>
046: * </xs:complexType>
047: *
048: * </code>
049: * </pre>
050: * </p>
051: *
052: * @generated
053: */
054: public class XSExplicitGroupBinding extends AbstractComplexBinding {
055: /**
056: * @generated
057: */
058: public QName getTarget() {
059: return XS.EXPLICITGROUP;
060: }
061:
062: /**
063: * <!-- begin-user-doc -->
064: * <!-- end-user-doc -->
065: *
066: * @generated modifiable
067: */
068: public int getExecutionMode() {
069: return AFTER;
070: }
071:
072: /**
073: * <!-- begin-user-doc -->
074: * <!-- end-user-doc -->
075: *
076: * @generated modifiable
077: */
078: public Class getType() {
079: return null;
080: }
081:
082: /**
083: * <!-- begin-user-doc -->
084: * <!-- end-user-doc -->
085: *
086: * @generated modifiable
087: */
088: public void initialize(ElementInstance instance, Node node,
089: MutablePicoContainer context) {
090: }
091:
092: /**
093: * <!-- begin-user-doc -->
094: * <!-- end-user-doc -->
095: *
096: * @generated modifiable
097: */
098: public Object parse(ElementInstance instance, Node node,
099: Object value) throws Exception {
100: //TODO: implement
101: return null;
102: }
103:
104: }
|