Package org.jdom2.output.support
Class AbstractOutputProcessor
java.lang.Object
org.jdom2.output.support.AbstractOutputProcessor
- Direct Known Subclasses:
AbstractDOMOutputProcessor
,AbstractSAXOutputProcessor
,AbstractStAXEventProcessor
,AbstractStAXStreamProcessor
,AbstractStAXStreamReader
,AbstractXMLOutputProcessor
Methods common/useful for all Outputter processors.
- Since:
- JDOM2
- Author:
- Rolf Lear
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Walker
buildWalker
(FormatStack fstack, List<? extends Content> content, boolean escape) Create a walker to process Content List values.
-
Constructor Details
-
AbstractOutputProcessor
public AbstractOutputProcessor()
-
-
Method Details
-
buildWalker
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.
-