Package org.jdom.output.support
Class WalkerTRIM_FULL_WHITE
- java.lang.Object
-
- org.jdom.output.support.AbstractFormattedWalker
-
- org.jdom.output.support.WalkerTRIM_FULL_WHITE
-
- All Implemented Interfaces:
Walker
public class WalkerTRIM_FULL_WHITE extends AbstractFormattedWalker
This Walker implementation will produce trimmed text content.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jdom.output.support.AbstractFormattedWalker
AbstractFormattedWalker.MultiText, AbstractFormattedWalker.Trim
-
-
Constructor Summary
Constructors Constructor Description WalkerTRIM_FULL_WHITE(List<? extends Content> content, FormatStack fstack, boolean escape)
Create the Trimmed walker instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
analyzeMultiText(AbstractFormattedWalker.MultiText mtext, int offset, int len)
Add the content at the specified indices to the provided MultiText.-
Methods inherited from class org.jdom.output.support.AbstractFormattedWalker
get, hasNext, isAllText, isAllWhitespace, isCDATA, next, text
-
-
-
-
Constructor Detail
-
WalkerTRIM_FULL_WHITE
public WalkerTRIM_FULL_WHITE(List<? extends Content> content, FormatStack fstack, boolean escape)
Create the Trimmed walker instance.- Parameters:
content
- The list of content to formatfstack
- The current stack.escape
- Whether Text values should be escaped.
-
-
Method Detail
-
analyzeMultiText
protected void analyzeMultiText(AbstractFormattedWalker.MultiText mtext, int offset, int len)
Description copied from class:AbstractFormattedWalker
Add the content at the specified indices to the provided MultiText.- Specified by:
analyzeMultiText
in classAbstractFormattedWalker
- Parameters:
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.
-
-