# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
Class and Description
org.apache.commons.jelly.tags.core.IfTag Implemented as `TagScript` in `CoreTagLibrary`
org.apache.commons.jelly.tags.core.JellyTag Implemented as `TagScript` in `CoreTagLibrary`
org.apache.commons.jelly.tags.core.SetTag Implemented as `TagScript` in `CoreTagLibrary`

Deprecated Methods
Method and Description
org.apache.commons.jelly.parser.XMLParser.getReader() Use getXMLReader() instead, which can throw a SAXException if the reader cannot be instantiated
org.apache.commons.jelly.TagSupport.isTrim() Trimming is now handled during parsing of the script, like it does in XSLT.
org.apache.commons.jelly.TagSupport.setTrim(boolean) Trimming is now handled during parsing of the script, like it does in XSLT.
org.apache.commons.jelly.TagSupport.trimBody() Trimming is now handled during parsing of the script, like it does in XSLT.

Deprecated Constructors
Constructor and Description
org.apache.commons.jelly.impl.StaticTagScript(TagFactory) The tag name is inferred automatically, so no need to set a tag factory. Use the default constructor.