/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2012, 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.mathml.xml; import java.math.BigInteger; import java.util.ArrayList; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlElementRefs; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Classe Java pour anonymous complex type. * * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <group ref="{http://www.w3.org/1998/Math/MathML}ContExp" maxOccurs="unbounded"/> * <attGroup ref="{http://www.w3.org/1998/Math/MathML}DefEncAtt"/> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="scope" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="nargs" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" /> * <attribute name="occurrence"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> * <enumeration value="prefix"/> * <enumeration value="infix"/> * <enumeration value="function-model"/> * </restriction> * </simpleType> * </attribute> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "contExp" }) public class Declare { @XmlElementRefs({ @XmlElementRef(name = "nary-stats.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "sum.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "share", namespace = "http://www.w3.org/1998/Math/MathML", type = Share.class), @XmlElementRef(name = "binary-logical.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "bind", namespace = "http://www.w3.org/1998/Math/MathML", type = Bind.class), @XmlElementRef(name = "Differential-Operator.class", namespace = "http://www.w3.org/1998/Math/MathML", type = DifferentialOperatorClass.class), @XmlElementRef(name = "csymbol", namespace = "http://www.w3.org/1998/Math/MathML", type = Csymbol.class), @XmlElementRef(name = "binary-reln.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "nary-setlist-constructor.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "piecewise", namespace = "http://www.w3.org/1998/Math/MathML", type = Piecewise.class), @XmlElementRef(name = "unary-logical.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "partialdiff.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "cs", namespace = "http://www.w3.org/1998/Math/MathML", type = Cs.class), @XmlElementRef(name = "cn", namespace = "http://www.w3.org/1998/Math/MathML", type = Cn.class), @XmlElementRef(name = "nary-linalg.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "unary-set.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "factorial", namespace = "http://www.w3.org/1998/Math/MathML", type = Factorial.class), @XmlElementRef(name = "nary-constructor.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "abs", namespace = "http://www.w3.org/1998/Math/MathML", type = Abs.class), @XmlElementRef(name = "interval.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "limit.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "nary-arith.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "rem", namespace = "http://www.w3.org/1998/Math/MathML", type = Rem.class), @XmlElementRef(name = "divide", namespace = "http://www.w3.org/1998/Math/MathML", type = Divide.class), @XmlElementRef(name = "imaginary", namespace = "http://www.w3.org/1998/Math/MathML", type = Imaginary.class), @XmlElementRef(name = "minus", namespace = "http://www.w3.org/1998/Math/MathML", type = Minus.class), @XmlElementRef(name = "nary-logical.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "constant-arith.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "unary-elementary.class", namespace = "http://www.w3.org/1998/Math/MathML", type = UnaryElementaryClass.class), @XmlElementRef(name = "apply", namespace = "http://www.w3.org/1998/Math/MathML", type = Apply.class), @XmlElementRef(name = "conjugate", namespace = "http://www.w3.org/1998/Math/MathML", type = Conjugate.class), @XmlElementRef(name = "binary-set.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "product.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "ci", namespace = "http://www.w3.org/1998/Math/MathML", type = Ci.class), @XmlElementRef(name = "constant-set.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "cerror", namespace = "http://www.w3.org/1998/Math/MathML", type = Cerror.class), @XmlElementRef(name = "nary-functional.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "cbytes", namespace = "http://www.w3.org/1998/Math/MathML", type = Cbytes.class), @XmlElementRef(name = "binary-linalg.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "unary-linalg.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "DeprecatedContExp", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "ceiling", namespace = "http://www.w3.org/1998/Math/MathML", type = Ceiling.class), @XmlElementRef(name = "quantifier.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "arg", namespace = "http://www.w3.org/1998/Math/MathML", type = Arg.class), @XmlElementRef(name = "nary-minmax.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "real", namespace = "http://www.w3.org/1998/Math/MathML", type = Real.class), @XmlElementRef(name = "root", namespace = "http://www.w3.org/1998/Math/MathML", type = Root.class), @XmlElementRef(name = "lambda.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "unary-veccalc.class", namespace = "http://www.w3.org/1998/Math/MathML", type = UnaryVeccalcClass.class), @XmlElementRef(name = "power", namespace = "http://www.w3.org/1998/Math/MathML", type = Power.class), @XmlElementRef(name = "quotient", namespace = "http://www.w3.org/1998/Math/MathML", type = Quotient.class), @XmlElementRef(name = "nary-reln.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "floor", namespace = "http://www.w3.org/1998/Math/MathML", type = Floor.class), @XmlElementRef(name = "exp", namespace = "http://www.w3.org/1998/Math/MathML", type = Exp.class), @XmlElementRef(name = "nary-set.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "int.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "nary-set-reln.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class), @XmlElementRef(name = "unary-functional.class", namespace = "http://www.w3.org/1998/Math/MathML", type = JAXBElement.class) }) protected java.util.List<Object> contExp; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "scope") protected String scope; @XmlAttribute(name = "nargs") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger nargs; @XmlAttribute(name = "occurrence") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String occurrence; @XmlAttribute(name = "encoding") protected String encoding; @XmlAttribute(name = "definitionURL") @XmlSchemaType(name = "anyURI") protected String definitionURL; /** * Gets the value of the contExp property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the contExp property. * * <p> * For example, to add a new item, do as follows: * <pre> * getContExp().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link Neq }{@code >} * {@link JAXBElement }{@code <}{@link NaryRelnClass }{@code >} * {@link Share } * {@link DifferentialOperatorClass } * {@link Bind } * {@link JAXBElement }{@code <}{@link NaryConstructorClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryMinmaxClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryConstructorClass }{@code >} * {@link Csymbol } * {@link JAXBElement }{@code <}{@link Object }{@code >} * {@link JAXBElement }{@code <}{@link Object }{@code >} * {@link JAXBElement }{@code <}{@link BinarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryLogicalClass }{@code >} * {@link Piecewise } * {@link JAXBElement }{@code <}{@link NaryMinmaxClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryArithClass }{@code >} * {@link Cn } * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link JAXBElement }{@code <}{@link NarySetRelnClass }{@code >} * {@link JAXBElement }{@code <}{@link UnarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryLogicalClass }{@code >} * {@link JAXBElement }{@code <}{@link NarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryArithClass }{@code >} * {@link JAXBElement }{@code <}{@link IntervalClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryConstructorClass }{@code >} * {@link JAXBElement }{@code <}{@link BinaryLogicalClass }{@code >} * {@link JAXBElement }{@code <}{@link BinarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryLinalgClass }{@code >} * {@link Divide } * {@link JAXBElement }{@code <}{@link NaryLogicalClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryStatsClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link Apply } * {@link Conjugate } * {@link JAXBElement }{@code <}{@link BinarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link JAXBElement }{@code <}{@link BinaryLinalgClass }{@code >} * {@link Ci } * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link Cerror } * {@link JAXBElement }{@code <}{@link NaryRelnClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryRelnClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link Tendsto }{@code >} * {@link JAXBElement }{@code <}{@link QuantifierClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link JAXBElement }{@code <}{@link ProductClass }{@code >} * {@link JAXBElement }{@code <}{@link Factorof }{@code >} * {@link JAXBElement }{@code <}{@link BinarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link JAXBElement }{@code <}{@link BinaryLinalgClass }{@code >} * {@link UnaryVeccalcClass } * {@link JAXBElement }{@code <}{@link LambdaClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryLinalgClass }{@code >} * {@link Quotient } * {@link JAXBElement }{@code <}{@link NaryRelnClass }{@code >} * {@link Exp } * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link LambdaClass }{@code >} * {@link JAXBElement }{@code <}{@link NarySetRelnClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryStatsClass }{@code >} * {@link JAXBElement }{@code <}{@link SumClass }{@code >} * {@link JAXBElement }{@code <}{@link BinaryLogicalClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryStatsClass }{@code >} * {@link JAXBElement }{@code <}{@link NarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link PartialdiffClass }{@code >} * {@link JAXBElement }{@code <}{@link SumClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryRelnClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryArithClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link JAXBElement }{@code <}{@link PartialdiffClass }{@code >} * {@link Cs } * {@link JAXBElement }{@code <}{@link NaryStatsClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryStatsClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryLinalgClass }{@code >} * {@link JAXBElement }{@code <}{@link BinaryLinalgClass }{@code >} * {@link JAXBElement }{@code <}{@link NarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link BinarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link IntervalClass }{@code >} * {@link Factorial } * {@link Abs } * {@link JAXBElement }{@code <}{@link BinaryLogicalClass }{@code >} * {@link JAXBElement }{@code <}{@link LimitClass }{@code >} * {@link JAXBElement }{@code <}{@link org.geotoolkit.mathml.xml.List }{@code >} * {@link JAXBElement }{@code <}{@link NaryArithClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link LimitClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryRelnClass }{@code >} * {@link Rem } * {@link Imaginary } * {@link Minus } * {@link JAXBElement }{@code <}{@link IntClass }{@code >} * {@link UnaryElementaryClass } * {@link JAXBElement }{@code <}{@link NaryLogicalClass }{@code >} * {@link JAXBElement }{@code <}{@link BinarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link UnarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link ProductClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryLinalgClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryConstructorClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link JAXBElement }{@code <}{@link Set }{@code >} * {@link JAXBElement }{@code <}{@link Approx }{@code >} * {@link JAXBElement }{@code <}{@link NaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryArithClass }{@code >} * {@link Cbytes } * {@link JAXBElement }{@code <}{@link NaryStatsClass }{@code >} * {@link JAXBElement }{@code <}{@link BinaryLinalgClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryLinalgClass }{@code >} * {@link JAXBElement }{@code <}{@link Object }{@code >} * {@link JAXBElement }{@code <}{@link Reln }{@code >} * {@link JAXBElement }{@code <}{@link QuantifierClass }{@code >} * {@link Ceiling } * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link Arg } * {@link JAXBElement }{@code <}{@link NaryLogicalClass }{@code >} * {@link JAXBElement }{@code <}{@link NaryMinmaxClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link Declare }{@code >} * {@link Real } * {@link Root } * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryLogicalClass }{@code >} * {@link Power } * {@link JAXBElement }{@code <}{@link ConstantArithClass }{@code >} * {@link Floor } * {@link JAXBElement }{@code <}{@link Fn }{@code >} * {@link JAXBElement }{@code <}{@link NarySetClass }{@code >} * {@link JAXBElement }{@code <}{@link NarySetRelnClass }{@code >} * {@link JAXBElement }{@code <}{@link IntClass }{@code >} * {@link JAXBElement }{@code <}{@link QuantifierClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link JAXBElement }{@code <}{@link ConstantSetClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * {@link JAXBElement }{@code <}{@link UnaryFunctionalClass }{@code >} * * */ public java.util.List<Object> getContExp() { if (contExp == null) { contExp = new ArrayList<Object>(); } return this.contExp; } /** * Obtient la valeur de la propriété type. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Définit la valeur de la propriété type. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Obtient la valeur de la propriété scope. * * @return * possible object is * {@link String } * */ public String getScope() { return scope; } /** * Définit la valeur de la propriété scope. * * @param value * allowed object is * {@link String } * */ public void setScope(String value) { this.scope = value; } /** * Obtient la valeur de la propriété nargs. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNargs() { return nargs; } /** * Définit la valeur de la propriété nargs. * * @param value * allowed object is * {@link BigInteger } * */ public void setNargs(BigInteger value) { this.nargs = value; } /** * Obtient la valeur de la propriété occurrence. * * @return * possible object is * {@link String } * */ public String getOccurrence() { return occurrence; } /** * Définit la valeur de la propriété occurrence. * * @param value * allowed object is * {@link String } * */ public void setOccurrence(String value) { this.occurrence = value; } /** * Obtient la valeur de la propriété encoding. * * @return * possible object is * {@link String } * */ public String getEncoding() { return encoding; } /** * Définit la valeur de la propriété encoding. * * @param value * allowed object is * {@link String } * */ public void setEncoding(String value) { this.encoding = value; } /** * Obtient la valeur de la propriété definitionURL. * * @return * possible object is * {@link String } * */ public String getDefinitionURL() { return definitionURL; } /** * Définit la valeur de la propriété definitionURL. * * @param value * allowed object is * {@link String } * */ public void setDefinitionURL(String value) { this.definitionURL = value; } }