JAXBRegistry.java
01 /*
02  * Java Genetic Algorithm Library (jenetics-3.5.0).
03  * Copyright (c) 2007-2016 Franz Wilhelmstötter
04  *
05  * Licensed under the Apache License, Version 2.0 (the "License");
06  * you may not use this file except in compliance with the License.
07  * You may obtain a copy of the License at
08  *
09  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * Author:
18  *    Franz Wilhelmstötter (franz.wilhelmstoetter@gmx.at)
19  */
20 package org.jenetics;
21 
22 import org.jenetics.internal.util.require;
23 
24 import org.jenetics.util.ISeq;
25 
26 /**
27  * Defining all JAXB marshalling classes in this package.
28  *
29  * @author <a href="mailto:franz.wilhelmstoetter@gmx.at">Franz Wilhelmstötter</a>
30  * @version 3.5
31  * @since 3.5
32  */
33 final class JAXBRegistry {
34     private JAXBRegistry() {require.noInstance();}
35 
36     /**
37      * The JAXB classes of this package.
38      */
39     public static final ISeq<Class<?>> CLASSES = ISeq.of(
40         BitGene.Model.class,
41         EnumGene.Model.class,
42         CharacterGene.Model.class,
43         IntegerGene.Model.class,
44         LongGene.Model.class,
45         DoubleGene.Model.class,
46 
47         BitChromosome.Model.class,
48         CharacterChromosome.Model.class,
49         IntegerChromosome.Model.class,
50         LongChromosome.Model.class,
51         DoubleChromosome.Model.class,
52         PermutationChromosome.Model.class,
53 
54         Genotype.Model.class,
55         Phenotype.Model.class,
56         Population.Model.class
57 
58 //        BoltzmannSelector.Model.class,
59 //        ExponentialRankSelector.Model.class,
60 //        LinearRankSelector.Model.class,
61 //        MonteCarloSelector.class,
62 //        RouletteWheelSelector.class,
63 //        StochasticUniversalSelector.class,
64 //        TournamentSelector.Model.class,
65 //        TruncationSelector.class,
66 //
67 //        CompositeAlterer.Model.class,
68 //        GaussianMutator.Model.class,
69 //        MeanAlterer.Model.class,
70 //        MultiPointCrossover.Model.class,
71 //        Mutator.Model.class,
72 //        PartiallyMatchedCrossover.Model.class,
73 //        SinglePointCrossover.Model.class,
74 //        SwapMutator.Model.class
75     );
76 }