/*
 * Java Genetic Algorithm Library (@__identifier__@).
 * Copyright (c) @__year__@ Franz Wilhelmstötter
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Author:
 *    Franz Wilhelmstötter (franz.wilhelmstoetter@gmx.at)
 */
package org.jenetics.util;

/**
 * @author <a href="mailto:franz.wilhelmstoetter@gmx.at">Franz Wilhelmstötter</a>
 * @version !__version__!
 * @since !__version__!
 */
public class IOTest {
}

@@ -766,168 +766,1244 @@
 l;%0A%0A
-/**%0A * @author %3Ca href=%22mailto:franz.wilhelmstoetter@gmx.at%22%3EFranz Wilhelmst%C3%B6tter%3C/a%3E%0A * @version !__version__!%0A * @since !__version__!%0A */%0Apublic class IOTest %7B
+import java.io.IOException;%0A%0Aimport javax.xml.bind.annotation.XmlAccessType;%0Aimport javax.xml.bind.annotation.XmlAccessorType;%0Aimport javax.xml.bind.annotation.XmlAttribute;%0Aimport javax.xml.bind.annotation.XmlRootElement;%0Aimport javax.xml.bind.annotation.XmlType;%0Aimport javax.xml.bind.annotation.XmlValue;%0A%0Aimport org.testng.annotations.Test;%0A%0A/**%0A * @author %3Ca href=%22mailto:franz.wilhelmstoetter@gmx.at%22%3EFranz Wilhelmst%C3%B6tter%3C/a%3E%0A * @version !__version__!%0A * @since !__version__!%0A */%0Apublic class IOTest %7B%0A%0A%09@XmlRootElement(name = %22data-class%22)%0A%09@XmlType(name = %22DataClass%22)%0A%09@XmlAccessorType(XmlAccessType.FIELD)%0A%09public static final class DataClass %7B%0A%09%09@XmlAttribute public String name;%0A%09%09@XmlValue public String value;%0A%09%7D%0A%0A%09@Test%0A%09public void jaxbRegister() throws IOException %7B%0A%09%09IO.JAXB.register(DataClass.class);%0A%0A%09%09final DataClass data = new DataClass();%0A%09%09data.name = %22name%22;%0A%09%09data.value = %22value%22;%0A%0A%09%09IO.jaxb.write(data, System.out);%0A%09%09System.out.flush();%0A%09%7D%0A%0A%09@Test(expectedExceptions = IOException.class)%0A%09public void jaxbDeregister() throws IOException %7B%0A%09%09IO.JAXB.deregister(DataClass.class);%0A%0A%09%09final DataClass data = new DataClass();%0A%09%09data.name = %22name%22;%0A%09%09data.value = %22value%22;%0A%0A%09%09IO.jaxb.write(data, System.out);%0A%09%7D%0A
 %0A%7D%0A

Add 'IOTest' class.