All Downloads are FREE. Search and download functionalities are using the official Maven repository.

toxgene.util.cdata.xmark.TestBadChars Maven / Gradle / Ivy

The newest version!
/**
 * 
 */
package toxgene.util.cdata.xmark;

import toxgene.interfaces.ToXgeneCdataGenerator;


/**
 * @author lord_pretzel
 *
 */
public class TestBadChars implements ToXgeneCdataGenerator {

	public TestBadChars() {
	}

	/**
	 * Specifies a seed for the random generator so that repeated
	 * executions always produce the same content, if the same seed is
	 * provided.
	 *
	 * @param seed random seed to initialize the random generator
	 */
	public void setRandomSeed(int seed) {
	}

	/**
	 * Generates random text whose length is determined by the parameter
	 * length. A value of -1 determines that a string of any length can
	 * be returned; a positive value means that a string must be
	 * truncated if necessary.
	 *
	 * @param length specifies the length of the CDATA value to be returned.
	 */
	public String getCdata(int length) {
		return "& FSDFSDF &&&";
	}

	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy