Modifier and Type | Method and Description |
---|---|
static SitemeshBufferFragment.Builder |
SitemeshBufferFragment.builder() |
static SitemeshBufferFragment.Builder |
SitemeshBufferFragment.builder(SitemeshBufferFragment fragment) |
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.delete(int pos,
int length)
Delete length characters from pos in this buffer fragment
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.end(int pos)
End the fragment
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.endDelete(int pos)
End the current deletion
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.insert(int position,
SitemeshBufferFragment fragment)
Insert the given fragment to the given position
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.insert(int position,
java.lang.String fragment)
Insert the given string fragment to the given position
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.markStart(int pos)
Mark the start of the fragment
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.markStartDelete(int pos)
Mark the start of a deletion.
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.setBuffer(SitemeshBuffer sitemeshBuffer)
Set the buffer.
|
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.setLength(int length) |
SitemeshBufferFragment.Builder |
SitemeshBufferFragment.Builder.setStart(int start) |
Modifier and Type | Field and Description |
---|---|
private SitemeshBufferFragment.Builder |
HTMLProcessor.body |
Modifier and Type | Method and Description |
---|---|
protected SitemeshBufferFragment.Builder |
BlockExtractingRule.createBuffer(SitemeshBuffer sitemeshBuffer) |
SitemeshBufferFragment.Builder |
HTMLProcessorContext.currentBuffer() |
protected SitemeshBufferFragment.Builder |
BasicRule.currentBuffer() |
SitemeshBufferFragment.Builder |
HTMLProcessorContext.popBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
HTMLProcessorContext.pushBuffer(SitemeshBufferFragment.Builder fragment) |
void |
CustomTag.writeTo(SitemeshBufferFragment.Builder buffer,
int position) |
void |
Tag.writeTo(SitemeshBufferFragment.Builder fragment,
int position)
Write out the complete tag in its original form, preserving original formatting.
|
void |
Text.writeTo(SitemeshBufferFragment.Builder buffer,
int position)
Write out the complete contents of the text block, preserving original formatting.
|
Constructor and Description |
---|
HTMLProcessor(SitemeshBuffer sitemeshBuffer,
SitemeshBufferFragment.Builder body) |
Modifier and Type | Field and Description |
---|---|
private SitemeshBufferFragment.Builder |
BodyTagRule.body |
private SitemeshBufferFragment.Builder |
HeadExtractingRule.head |
Modifier and Type | Method and Description |
---|---|
protected SitemeshBufferFragment.Builder |
HeadExtractingRule.createBuffer(SitemeshBuffer sitemeshBuffer) |
Constructor and Description |
---|
BodyTagRule(PageBuilder page,
SitemeshBufferFragment.Builder body) |
HeadExtractingRule(SitemeshBufferFragment.Builder head) |
Modifier and Type | Method and Description |
---|---|
void |
Parser.ReusableToken.writeTo(SitemeshBufferFragment.Builder buffer,
int position) |