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:groupRef.
027: *
028: * <p>
029: * <pre>
030: * <code>
031: * <xs:complexType name="groupRef">
032: * <xs:complexContent>
033: * <xs:restriction base="xs:realGroup">
034: * <xs:sequence>
035: * <xs:element ref="xs:annotation" minOccurs="0"/>
036: * </xs:sequence>
037: * <xs:attribute name="ref" use="required" type="xs:QName"/>
038: * <xs:attribute name="name" use="prohibited"/>
039: * <xs:anyAttribute namespace="##other" processContents="lax"/>
040: * </xs:restriction>
041: * </xs:complexContent>
042: * </xs:complexType>
043: *
044: * </code>
045: * </pre>
046: * </p>
047: *
048: * @generated
049: */
050: public class XSGroupRefBinding extends AbstractComplexBinding {
051: /**
052: * @generated
053: */
054: public QName getTarget() {
055: return XS.GROUPREF;
056: }
057:
058: /**
059: * <!-- begin-user-doc -->
060: * <!-- end-user-doc -->
061: *
062: * @generated modifiable
063: */
064: public int getExecutionMode() {
065: return AFTER;
066: }
067:
068: /**
069: * <!-- begin-user-doc -->
070: * <!-- end-user-doc -->
071: *
072: * @generated modifiable
073: */
074: public Class getType() {
075: return null;
076: }
077:
078: /**
079: * <!-- begin-user-doc -->
080: * <!-- end-user-doc -->
081: *
082: * @generated modifiable
083: */
084: public void initialize(ElementInstance instance, Node node,
085: MutablePicoContainer context) {
086: }
087:
088: /**
089: * <!-- begin-user-doc -->
090: * <!-- end-user-doc -->
091: *
092: * @generated modifiable
093: */
094: public Object parse(ElementInstance instance, Node node,
095: Object value) throws Exception {
096: //TODO: implement
097: return null;
098: }
099:
100: }
|