Top Description Constructors Methods
org.jdom2.output.support

public Class WalkerTRIM_FULL_WHITE

extends AbstractFormattedWalker
Class Inheritance
Imports
java.util.List, org.jdom2.Content, .Text, .Verifier

This Walker implementation will produce trimmed text content.
Author
Rolf Lear

Constructor Summary

AccessConstructor and Description
public
WalkerTRIM_FULL_WHITE(final List<? extends Content>
The list of content to format
content
,
final FormatStack
The current stack.
fstack
,
final boolean
Whether Text values should be escaped.
escape
)

Create the Trimmed walker instance.

Method Summary

Modifier and TypeMethod and Description
protected void
analyzeMultiText(final AbstractFormattedWalker.MultiText
the MultiText to append to.
mtext
,
final int
The first Text-like content to add to the MultiText
offset
,
final int
The number of Text-like content items to add.
len
)

Implements abstract org.jdom2.output.support.AbstractFormattedWalker.analyzeMultiText.

Add the content at the specified indices to the provided MultiText.
Inherited from org.jdom2.output.support.AbstractFormattedWalker:
gethasNextisAllTextisAllWhitespaceisCDATAnexttext

Constructor Detail

WalkerTRIM_FULL_WHITEback to summary
public WalkerTRIM_FULL_WHITE(final List<? extends Content> content, final FormatStack fstack, final boolean escape)

Create the Trimmed walker instance.

Parameters
content:List<? extends Content>

The list of content to format

fstack:FormatStack

The current stack.

escape:boolean

Whether Text values should be escaped.

Method Detail

analyzeMultiTextback to summary
protected void analyzeMultiText(final AbstractFormattedWalker.MultiText mtext, final int offset, final int len)

Implements abstract org.jdom2.output.support.AbstractFormattedWalker.analyzeMultiText.

Doc from org.jdom2.output.support.AbstractFormattedWalker.analyzeMultiText.

Add the content at the specified indices to the provided MultiText.

Parameters
mtext:AbstractFormattedWalker.MultiText

the MultiText to append to.

offset:int

The first Text-like content to add to the MultiText

len:int

The number of Text-like content items to add.

Annotations
@Override