/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2008 - 2009, Geomatys * * 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; either * version 2.1 of the License, or (at your option) any later version. * * 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.geotoolkit.xsd.xml.v2001; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interface * generated in the org.w3._2001.xmlschema package. * <p>An ObjectFactory allows you to programatically * construct new instances of the Java representation * for XML content. The Java representation of XML * content can consist of schema derived interfaces * and classes representing the binding of schema * type definitions, element declarations and model * groups. Factory methods for each of these are * provided in this class. * * @module */ @XmlRegistry public class ObjectFactory { private static final QName _MinInclusive_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "minInclusive"); private static final QName _MaxLength_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "maxLength"); private static final QName _Sequence_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "sequence"); private static final QName _MinLength_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "minLength"); private static final QName _Group_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "group"); private static final QName _AttributeGroup_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "attributeGroup"); private static final QName _Key_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "key"); private static final QName _All_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "all"); private static final QName _Length_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "length"); private static final QName _SimpleType_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "simpleType"); private static final QName _Enumeration_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "enumeration"); private static final QName _Choice_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "choice"); private static final QName _FractionDigits_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "fractionDigits"); private static final QName _MinExclusive_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "minExclusive"); private static final QName _MaxExclusive_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "maxExclusive"); private static final QName _Element_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "element"); private static final QName _Unique_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "unique"); private static final QName _ComplexType_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "complexType"); private static final QName _MaxInclusive_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "maxInclusive"); private static final QName _Attribute_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "attribute"); private static final QName _AnyAttribute_QNAME = new QName("http://www.w3.org/2001/XMLSchema", "anyAttribute"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2001.xmlschema * */ public ObjectFactory() { } /** * Create an instance of {@link All } * */ public All createAll() { return new All(); } /** * Create an instance of {@link Wildcard } * */ public Wildcard createWildcard() { return new Wildcard(); } /** * Create an instance of {@link NumFacet } * */ public NumFacet createNumFacet() { return new NumFacet(); } /** * Create an instance of {@link GroupRef } * */ public GroupRef createGroupRef() { return new GroupRef(); } /** * Create an instance of {@link Keybase } * */ public Keybase createKeybase() { return new Keybase(); } /** * Create an instance of {@link LocalComplexType } * */ public LocalComplexType createLocalComplexType() { return new LocalComplexType(); } /** * Create an instance of {@link Any } * */ public Any createAny() { return new Any(); } /** * Create an instance of {@link Redefine } * */ public Redefine createRedefine() { return new Redefine(); } /** * Create an instance of {@link TotalDigits } * */ public TotalDigits createTotalDigits() { return new TotalDigits(); } /** * Create an instance of {@link Attribute } * */ public Attribute createAttribute() { return new Attribute(); } /** * Create an instance of {@link Annotation } * */ public Annotation createAnnotation() { return new Annotation(); } /** * Create an instance of {@link TopLevelAttribute } * */ public TopLevelAttribute createTopLevelAttribute() { return new TopLevelAttribute(); } /** * Create an instance of {@link TopLevelElement } * */ public TopLevelElement createTopLevelElement() { return new TopLevelElement(); } /** * Create an instance of {@link RealGroup } * */ public RealGroup createRealGroup() { return new RealGroup(); } /** * Create an instance of {@link Notation } * */ public Notation createNotation() { return new Notation(); } /** * Create an instance of {@link Field } * */ public Field createField() { return new Field(); } /** * Create an instance of {@link Documentation } * */ public Documentation createDocumentation() { return new Documentation(); } /** * Create an instance of {@link WhiteSpace } * */ public WhiteSpace createWhiteSpace() { return new WhiteSpace(); } /** * Create an instance of {@link Appinfo } * */ public Appinfo createAppinfo() { return new Appinfo(); } /** * Create an instance of {@link TopLevelSimpleType } * */ public TopLevelSimpleType createTopLevelSimpleType() { return new TopLevelSimpleType(); } /** * Create an instance of {@link LocalSimpleType } * */ public LocalSimpleType createLocalSimpleType() { return new LocalSimpleType(); } /** * Create an instance of {@link TopLevelComplexType } * */ public TopLevelComplexType createTopLevelComplexType() { return new TopLevelComplexType(); } /** * Create an instance of {@link Schema } * */ public Schema createSchema() { return new Schema(); } /** * Create an instance of {@link ExplicitGroup } * */ public ExplicitGroup createExplicitGroup() { return new ExplicitGroup(); } /** * Create an instance of {@link NoFixedFacet } * */ public NoFixedFacet createNoFixedFacet() { return new NoFixedFacet(); } /** * Create an instance of {@link Pattern } * */ public Pattern createPattern() { return new Pattern(); } /** * Create an instance of {@link Restriction } * */ public Restriction createRestriction() { return new Restriction(); } /** * Create an instance of {@link SimpleExtensionType } * */ public SimpleExtensionType createSimpleExtensionType() { return new SimpleExtensionType(); } /** * Create an instance of {@link AttributeGroupRef } * */ public AttributeGroupRef createAttributeGroupRef() { return new AttributeGroupRef(); } /** * Create an instance of {@link SimpleRestrictionType } * */ public SimpleRestrictionType createSimpleRestrictionType() { return new SimpleRestrictionType(); } /** * Create an instance of {@link NamedGroup } * */ public NamedGroup createNamedGroup() { return new NamedGroup(); } /** * Create an instance of {@link List } * */ public List createList() { return new List(); } /** * Create an instance of {@link NamedAttributeGroup } * */ public NamedAttributeGroup createNamedAttributeGroup() { return new NamedAttributeGroup(); } /** * Create an instance of {@link SimpleContent } * */ public SimpleContent createSimpleContent() { return new SimpleContent(); } /** * Create an instance of {@link Include } * */ public Include createInclude() { return new Include(); } /** * Create an instance of {@link ComplexRestrictionType } * */ public ComplexRestrictionType createComplexRestrictionType() { return new ComplexRestrictionType(); } /** * Create an instance of {@link ComplexContent } * */ public ComplexContent createComplexContent() { return new ComplexContent(); } /** * Create an instance of {@link RestrictionType } * */ public RestrictionType createRestrictionType() { return new RestrictionType(); } /** * Create an instance of {@link Annotated } * */ public Annotated createAnnotated() { return new Annotated(); } /** * Create an instance of {@link Union } * */ public Union createUnion() { return new Union(); } /** * Create an instance of {@link Keyref } * */ public Keyref createKeyref() { return new Keyref(); } /** * Create an instance of {@link OpenAttrs } * */ public OpenAttrs createOpenAttrs() { return new OpenAttrs(); } /** * Create an instance of {@link ExtensionType } * */ public ExtensionType createExtensionType() { return new ExtensionType(); } /** * Create an instance of {@link LocalElement } * */ public LocalElement createLocalElement() { return new LocalElement(); } /** * Create an instance of {@link SimpleExplicitGroup } * */ public SimpleExplicitGroup createSimpleExplicitGroup() { return new SimpleExplicitGroup(); } /** * Create an instance of {@link Import } * */ public Import createImport() { return new Import(); } /** * Create an instance of {@link Facet } * */ public Facet createFacet() { return new Facet(); } /** * Create an instance of {@link NarrowMaxMin } * */ public NarrowMaxMin createNarrowMaxMin() { return new NarrowMaxMin(); } /** * Create an instance of {@link Selector } * */ public Selector createSelector() { return new Selector(); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Facet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "minInclusive") public JAXBElement<Facet> createMinInclusive(final Facet value) { return new JAXBElement<Facet>(_MinInclusive_QNAME, Facet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link NumFacet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "maxLength") public JAXBElement<NumFacet> createMaxLength(final NumFacet value) { return new JAXBElement<NumFacet>(_MaxLength_QNAME, NumFacet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ExplicitGroup }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "sequence") public JAXBElement<ExplicitGroup> createSequence(final ExplicitGroup value) { return new JAXBElement<ExplicitGroup>(_Sequence_QNAME, ExplicitGroup.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link NumFacet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "minLength") public JAXBElement<NumFacet> createMinLength(final NumFacet value) { return new JAXBElement<NumFacet>(_MinLength_QNAME, NumFacet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link NamedGroup }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "group") public JAXBElement<NamedGroup> createGroup(final NamedGroup value) { return new JAXBElement<NamedGroup>(_Group_QNAME, NamedGroup.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link NamedAttributeGroup }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "attributeGroup") public JAXBElement<NamedAttributeGroup> createAttributeGroup(final NamedAttributeGroup value) { return new JAXBElement<NamedAttributeGroup>(_AttributeGroup_QNAME, NamedAttributeGroup.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Keybase }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "key") public JAXBElement<Keybase> createKey(final Keybase value) { return new JAXBElement<Keybase>(_Key_QNAME, Keybase.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link All }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "all") public JAXBElement<All> createAll(final All value) { return new JAXBElement<All>(_All_QNAME, All.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link NumFacet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "length") public JAXBElement<NumFacet> createLength(final NumFacet value) { return new JAXBElement<NumFacet>(_Length_QNAME, NumFacet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link TopLevelSimpleType }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "simpleType") public JAXBElement<TopLevelSimpleType> createSimpleType(final TopLevelSimpleType value) { return new JAXBElement<TopLevelSimpleType>(_SimpleType_QNAME, TopLevelSimpleType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link NoFixedFacet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "enumeration") public JAXBElement<NoFixedFacet> createEnumeration(final NoFixedFacet value) { return new JAXBElement<NoFixedFacet>(_Enumeration_QNAME, NoFixedFacet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link ExplicitGroup }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "choice") public JAXBElement<ExplicitGroup> createChoice(final ExplicitGroup value) { return new JAXBElement<ExplicitGroup>(_Choice_QNAME, ExplicitGroup.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link NumFacet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "fractionDigits") public JAXBElement<NumFacet> createFractionDigits(final NumFacet value) { return new JAXBElement<NumFacet>(_FractionDigits_QNAME, NumFacet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Facet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "minExclusive") public JAXBElement<Facet> createMinExclusive(final Facet value) { return new JAXBElement<Facet>(_MinExclusive_QNAME, Facet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Facet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "maxExclusive") public JAXBElement<Facet> createMaxExclusive(final Facet value) { return new JAXBElement<Facet>(_MaxExclusive_QNAME, Facet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link TopLevelElement }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "element") public JAXBElement<TopLevelElement> createElement(final TopLevelElement value) { return new JAXBElement<TopLevelElement>(_Element_QNAME, TopLevelElement.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Keybase }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "unique") public JAXBElement<Keybase> createUnique(final Keybase value) { return new JAXBElement<Keybase>(_Unique_QNAME, Keybase.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link TopLevelComplexType }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "complexType") public JAXBElement<TopLevelComplexType> createComplexType(final TopLevelComplexType value) { return new JAXBElement<TopLevelComplexType>(_ComplexType_QNAME, TopLevelComplexType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Facet }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "maxInclusive") public JAXBElement<Facet> createMaxInclusive(final Facet value) { return new JAXBElement<Facet>(_MaxInclusive_QNAME, Facet.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link TopLevelAttribute }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "attribute") public JAXBElement<TopLevelAttribute> createAttribute(final TopLevelAttribute value) { return new JAXBElement<TopLevelAttribute>(_Attribute_QNAME, TopLevelAttribute.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Wildcard }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "anyAttribute") public JAXBElement<Wildcard> createAnyAttribute(final Wildcard value) { return new JAXBElement<Wildcard>(_AnyAttribute_QNAME, Wildcard.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link LocalElement }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "element", scope = Group.class) public JAXBElement<LocalElement> createGroupElement(final LocalElement value) { return new JAXBElement<LocalElement>(_Element_QNAME, LocalElement.class, Group.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link GroupRef }{@code >}} * */ @XmlElementDecl(namespace = "http://www.w3.org/2001/XMLSchema", name = "group", scope = Group.class) public JAXBElement<GroupRef> createGroupGroup(final GroupRef value) { return new JAXBElement<GroupRef>(_Group_QNAME, GroupRef.class, Group.class, value); } }