/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2002-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.gml3.smil; import java.util.Collections; import org.opengis.feature.type.AttributeType; import org.opengis.feature.type.ComplexType; import org.geotools.feature.NameImpl; import org.geotools.feature.type.AttributeTypeImpl; import org.geotools.feature.type.ComplexTypeImpl; import org.geotools.feature.type.SchemaImpl; import org.geotools.xs.XSSchema; public class SMIL20Schema extends SchemaImpl { /** * <p> * <pre> * <code> * <simpleType name="restartDefaultType"> * <restriction base="string"> * <enumeration value="never"/> * <enumeration value="always"/> * <enumeration value="whenNotActive"/> * <enumeration value="inherit"/> * </restriction> * </simpleType> * * </code> * </pre> * </p> * * @generated */ public static final AttributeType RESTARTDEFAULTTYPE_TYPE = new AttributeTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "restartDefaultType"), java.lang.Object.class, false, false, Collections.EMPTY_LIST, XSSchema.STRING_TYPE, null); /** * <p> * <pre> * <code> * <simpleType name="fillTimingAttrsType"> * <restriction base="string"> * <enumeration value="remove"/> * <enumeration value="freeze"/> * <enumeration value="hold"/> * <enumeration value="auto"/> * <enumeration value="default"/> * <enumeration value="transition"/> * </restriction> * </simpleType> * * </code> * </pre> * </p> * * @generated */ public static final AttributeType FILLTIMINGATTRSTYPE_TYPE = new AttributeTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "fillTimingAttrsType"), java.lang.Object.class, false, false, Collections.EMPTY_LIST, XSSchema.STRING_TYPE, null); /** * <p> * <pre> * <code> * <complexType name="animateMotionPrototype"> * <attributeGroup ref="smil20:animAddAccumAttrs"/> * <attributeGroup ref="smil20:animValuesAttrs"/> * <attribute name="origin" type="string" use="optional"/> * </complexType> * * </code> * </pre> * </p> * * @generated */ public static final ComplexType ANIMATEMOTIONPROTOTYPE_TYPE = new ComplexTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "animateMotionPrototype"), Collections.EMPTY_LIST, false, false, Collections.EMPTY_LIST, XSSchema.ANYTYPE_TYPE, null); /** * <p> * <pre> * <code> * <complexType name="animateColorPrototype"> * <attributeGroup ref="smil20:animNamedTargetAttrs"/> * <attributeGroup ref="smil20:animAddAccumAttrs"/> * <attributeGroup ref="smil20:animValuesAttrs"/> * </complexType> * * </code> * </pre> * </p> * * @generated */ public static final ComplexType ANIMATECOLORPROTOTYPE_TYPE = new ComplexTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "animateColorPrototype"), Collections.EMPTY_LIST, false, false, Collections.EMPTY_LIST, XSSchema.ANYTYPE_TYPE, null); /** * <p> * <pre> * <code> * <simpleType name="nonNegativeDecimalType"> * <restriction base="decimal"> * <minInclusive value="0.0"/> * </restriction> * </simpleType> * * </code> * </pre> * </p> * * @generated */ public static final AttributeType NONNEGATIVEDECIMALTYPE_TYPE = new AttributeTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "nonNegativeDecimalType"), java.lang.Object.class, false, false, Collections.EMPTY_LIST, XSSchema.DECIMAL_TYPE, null); /** * <p> * <pre> * <code> * <simpleType name="fillDefaultType"> * <restriction base="string"> * <enumeration value="remove"/> * <enumeration value="freeze"/> * <enumeration value="hold"/> * <enumeration value="auto"/> * <enumeration value="inherit"/> * <enumeration value="transition"/> * </restriction> * </simpleType> * * </code> * </pre> * </p> * * @generated */ public static final AttributeType FILLDEFAULTTYPE_TYPE = new AttributeTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "fillDefaultType"), java.lang.Object.class, false, false, Collections.EMPTY_LIST, XSSchema.STRING_TYPE, null); /** * <p> * <pre> * <code> * <complexType name="animatePrototype"> * <attributeGroup ref="smil20:animNamedTargetAttrs"/> * <attributeGroup ref="smil20:animAddAccumAttrs"/> * <attributeGroup ref="smil20:animValuesAttrs"/> * </complexType> * * </code> * </pre> * </p> * * @generated */ public static final ComplexType ANIMATEPROTOTYPE_TYPE = new ComplexTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "animatePrototype"), Collections.EMPTY_LIST, false, false, Collections.EMPTY_LIST, XSSchema.ANYTYPE_TYPE, null); /** * <p> * <pre> * <code> * <simpleType name="restartTimingType"> * <restriction base="string"> * <enumeration value="never"/> * <enumeration value="always"/> * <enumeration value="whenNotActive"/> * <enumeration value="default"/> * </restriction> * </simpleType> * * </code> * </pre> * </p> * * @generated */ public static final AttributeType RESTARTTIMINGTYPE_TYPE = new AttributeTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "restartTimingType"), java.lang.Object.class, false, false, Collections.EMPTY_LIST, XSSchema.STRING_TYPE, null); /** * <p> * <pre> * <code> * <simpleType name="syncBehaviorDefaultType"> * <restriction base="string"> * <enumeration value="canSlip"/> * <enumeration value="locked"/> * <enumeration value="independent"/> * <enumeration value="inherit"/> * </restriction> * </simpleType> * * </code> * </pre> * </p> * * @generated */ public static final AttributeType SYNCBEHAVIORDEFAULTTYPE_TYPE = new AttributeTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "syncBehaviorDefaultType"), java.lang.Object.class, false, false, Collections.EMPTY_LIST, XSSchema.STRING_TYPE, null); /** * <p> * <pre> * <code> * <simpleType name="syncBehaviorType"> * <restriction base="string"> * <enumeration value="canSlip"/> * <enumeration value="locked"/> * <enumeration value="independent"/> * <enumeration value="default"/> * </restriction> * </simpleType> * * </code> * </pre> * </p> * * @generated */ public static final AttributeType SYNCBEHAVIORTYPE_TYPE = new AttributeTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "syncBehaviorType"), java.lang.Object.class, false, false, Collections.EMPTY_LIST, XSSchema.STRING_TYPE, null); /** * <p> * <pre> * <code> * <complexType name="setPrototype"> * <attributeGroup ref="smil20:animNamedTargetAttrs"/> * <attributeGroup ref="smil20:animSetValuesAttrs"/> * </complexType> * * </code> * </pre> * </p> * * @generated */ public static final ComplexType SETPROTOTYPE_TYPE = new ComplexTypeImpl(new NameImpl( "http://www.w3.org/2001/SMIL20/", "setPrototype"), Collections.EMPTY_LIST, false, false, Collections.EMPTY_LIST, XSSchema.ANYTYPE_TYPE, null); public SMIL20Schema() { super("http://www.w3.org/2001/SMIL20/"); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "restartDefaultType"), RESTARTDEFAULTTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "fillTimingAttrsType"), FILLTIMINGATTRSTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "animateMotionPrototype"), ANIMATEMOTIONPROTOTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "animateColorPrototype"), ANIMATECOLORPROTOTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "nonNegativeDecimalType"), NONNEGATIVEDECIMALTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "fillDefaultType"), FILLDEFAULTTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "animatePrototype"), ANIMATEPROTOTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "restartTimingType"), RESTARTTIMINGTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "syncBehaviorDefaultType"), SYNCBEHAVIORDEFAULTTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "syncBehaviorType"), SYNCBEHAVIORTYPE_TYPE); put(new NameImpl("http://www.w3.org/2001/SMIL20/", "setPrototype"), SETPROTOTYPE_TYPE); } }