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