Package org.smooks
Class FilterSettings
- java.lang.Object
-
- org.smooks.FilterSettings
-
public class FilterSettings extends Object
Smooks filter settings for programmatic configuration of theSmooks
instance.- Author:
- tom.fennelly@jboss.com
-
-
Field Summary
Fields Modifier and Type Field Description static FilterSettings
DEFAULT_DOM
static FilterSettings
DEFAULT_SAX_NG
-
Constructor Summary
Constructors Constructor Description FilterSettings()
FilterSettings(StreamFilterType filterType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applySettings(Smooks smooks)
static FilterSettings
newDOMSettings()
static FilterSettings
newSaxNgSettings()
FilterSettings
setCloseResult(boolean closeResult)
FilterSettings
setCloseSource(boolean closeSource)
FilterSettings
setDefaultSerializationOn(boolean defaultSerializationOn)
FilterSettings
setFilterType(StreamFilterType filterType)
FilterSettings
setMaintainElementStack(boolean maintainElementStack)
FilterSettings
setMaxNodeDepth(int maxNodeDepth)
FilterSettings
setReaderPoolSize(int readerPoolSize)
FilterSettings
setRewriteEntities(boolean rewriteEntities)
FilterSettings
setTerminateOnException(boolean terminateOnException)
-
-
-
Field Detail
-
DEFAULT_DOM
public static final FilterSettings DEFAULT_DOM
-
DEFAULT_SAX_NG
public static final FilterSettings DEFAULT_SAX_NG
-
-
Constructor Detail
-
FilterSettings
public FilterSettings()
-
FilterSettings
public FilterSettings(StreamFilterType filterType)
-
-
Method Detail
-
newDOMSettings
public static FilterSettings newDOMSettings()
-
newSaxNgSettings
public static FilterSettings newSaxNgSettings()
-
setFilterType
public FilterSettings setFilterType(StreamFilterType filterType)
-
setRewriteEntities
public FilterSettings setRewriteEntities(boolean rewriteEntities)
-
setDefaultSerializationOn
public FilterSettings setDefaultSerializationOn(boolean defaultSerializationOn)
-
setTerminateOnException
public FilterSettings setTerminateOnException(boolean terminateOnException)
-
setMaintainElementStack
public FilterSettings setMaintainElementStack(boolean maintainElementStack)
-
setCloseSource
public FilterSettings setCloseSource(boolean closeSource)
-
setCloseResult
public FilterSettings setCloseResult(boolean closeResult)
-
setReaderPoolSize
public FilterSettings setReaderPoolSize(int readerPoolSize)
-
setMaxNodeDepth
public FilterSettings setMaxNodeDepth(int maxNodeDepth)
-
applySettings
protected void applySettings(Smooks smooks)
-
-