Top Description Constructors Methods
org.jdom2.output.support

public abstract Class AbstractOutputProcessor

extends Object
Class Inheritance
Known Direct Subclasses
org.jdom2.output.support.AbstractSAXOutputProcessor, org.jdom2.output.support.AbstractStAXEventProcessor, org.jdom2.output.support.AbstractStAXStreamProcessor, org.jdom2.output.support.AbstractStAXStreamReader, org.jdom2.output.support.AbstractXMLOutputProcessor, org.jdom2.output.support.AbstractDOMOutputProcessor
Imports
java.util.List, org.jdom2.Content

Methods common/useful for all Outputter processors.
Author
Rolf Lear
Since
JDOM2

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Walker

Returns:

the created walker.
buildWalker
(final FormatStack
The current FormatStack for the walker (this should not be modified by the Walker).
fstack
,
final List<? extends Content>
The list of content to walk.
content
,
boolean
If you want the Text values to be XMLEscaped then supply a non-null EscapeStrategy to use.
escape
)

Create a walker to process Content List values.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractOutputProcessorback to summary
public AbstractOutputProcessor()

Method Detail

buildWalkerback to summary
protected Walker buildWalker(final FormatStack fstack, final 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:FormatStack

The current FormatStack for the walker (this should not be modified by the Walker).

content:List<? extends Content>

The list of content to walk.

escape:boolean

If you want the Text values to be XMLEscaped then supply a non-null EscapeStrategy to use.

Returns:Walker

the created walker.