Package org.jdom2.output.support
Class AbstractOutputProcessor
- java.lang.Object
-
- org.jdom2.output.support.AbstractOutputProcessor
-
- Direct Known Subclasses:
AbstractDOMOutputProcessor
,AbstractSAXOutputProcessor
,AbstractStAXEventProcessor
,AbstractStAXStreamProcessor
,AbstractStAXStreamReader
,AbstractXMLOutputProcessor
public abstract class AbstractOutputProcessor extends java.lang.Object
Methods common/useful for all Outputter processors.- Since:
- JDOM2
- Author:
- Rolf Lear
-
-
Constructor Summary
Constructors Constructor Description AbstractOutputProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Walker
buildWalker(FormatStack fstack, java.util.List<? extends Content> content, boolean escape)
Create a walker to process Content List values.
-
-
-
Method Detail
-
buildWalker
protected Walker buildWalker(FormatStack fstack, java.util.List<? extends Content> content, boolean escape)
Create a walker to process Content List values.If you require a custom walker to process content in a specific way then you probably want to override this method to build the walker you want.
- Parameters:
fstack
- The current FormatStack for the walker (this should not be modified by the Walker).content
- The list of content to walk.escape
- If you want the Text values to be XMLEscaped then supply a non-null EscapeStrategy to use.- Returns:
- the created walker.
-
-