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

com.jsftoolkit.utils.xmlpull.BodyText Maven / Gradle / Ivy

Go to download

The core classes for the JSF Toolkit Component Framework. Includes all framework base and utility classes as well as component kick-start/code-generation and registration tools. Also includes some classes for testing that are reused in other projects. They cannot be factored out into a separate project because they are referenced by the tests and they reference this code (circular dependence).

The newest version!
package com.jsftoolkit.utils.xmlpull;

/**
 * Signals element body text should be output.
 * 
 * @author noah
 * 
 */
public class BodyText implements PullEvent {

	public static final short TYPE = 4;

	private final StringBuilder text;

	public BodyText(char[] ch, int start, int len) {
		super();
		this.text = new StringBuilder();
		this.text.append(ch, start, len);
	}

	public BodyText(StringBuffer sb) {
		super();
		this.text = new StringBuilder(sb);
	}

	public StringBuilder getText() {
		return text;
	}

	public short getType() {
		return TYPE;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy