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