public class WalkerNORMALIZE extends AbstractFormattedWalker
AbstractFormattedWalker.MultiText, AbstractFormattedWalker.Trim
Constructor and Description |
---|
WalkerNORMALIZE(java.util.List<? extends Content> content,
FormatStack fstack,
boolean escape)
Create the Trimmed walker instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeMultiText(AbstractFormattedWalker.MultiText mtext,
int offset,
int len)
Add the content at the specified indices to the provided MultiText.
|
get, hasNext, isAllText, isAllWhitespace, isCDATA, next, text
public WalkerNORMALIZE(java.util.List<? extends Content> content, FormatStack fstack, boolean escape)
content
- The list of content to formatfstack
- The current stack.escape
- Whether Text values should be escaped.protected void analyzeMultiText(AbstractFormattedWalker.MultiText mtext, int offset, int len)
AbstractFormattedWalker
analyzeMultiText
in class AbstractFormattedWalker
mtext
- the MultiText to append to.offset
- The first Text-like content to add to the MultiTextlen
- The number of Text-like content items to add.Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.