public static Writer<io.jenetics.CharacterChromosome> writer() {
			return elem(ROOT_NAME,
				attr(LENGTH_NAME).map(io.jenetics.CharacterChromosome::length),
				elem(VALID_ALLELES_NAME,
					text().map(ch -> ch.gene().validChars())),
				elem(ALLELES_NAME,
					text().map(io.jenetics.CharacterChromosome::toString))
			);
		}
Return a {@link Writer} for {@link io.jenetics.CharacterChromosome}
objects.

@return a chromosome writer
jenetics.xml/src/main/java/io/jenetics/xml/Writers.java