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