toxgene.util.cdata.xmark.TestBadChars Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ToxGene Show documentation
Show all versions of ToxGene Show documentation
Modified ToXGene for the iBench project.
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 &&&";
}
}