public String getContents() {
return new String(input, position, length);
}
public void writeTo(SitemeshBufferFragment.Builder buffer, int position) {
buffer.insert(position, SitemeshBufferFragment.builder().setBuffer(new DefaultSitemeshBuffer(input)).setStart(position).setLength(length).build());
}