org.openprivacy.reptile.extensions
Class ContentTransformer
java.lang.Object
|
+--org.openprivacy.reptile.extensions.ContentTransformer
- public class ContentTransformer
- extends java.lang.Object
Handles generating Reptile output from subscription content and applying
multiple stylesheets.
- Version:
- $Id: ContentTransformer.java,v 1.19 2002/02/08 21:15:28 burton Exp $
- Author:
- Kevin A. Burton
|
Method Summary |
void |
init(org.apache.xalan.extensions.XSLProcessorContext context,
org.apache.xalan.templates.ElemExtensionCall elem)
Init this PageDispatcher and merge any required params. |
boolean |
isSupported(java.lang.String contentType)
Return true if this given contentType is an RSS channel. |
java.lang.String |
transform(java.lang.String location,
java.lang.String inputFormat,
java.lang.String outputFormat)
Transform the given content. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPTILE_CONTENT_LOCATION_KEY
public static final java.lang.String REPTILE_CONTENT_LOCATION_KEY
REPTILE_CONTENT_TYPE_KEY
public static final java.lang.String REPTILE_CONTENT_TYPE_KEY
ContentTransformer
public ContentTransformer(ParameterPasser params)
- Construct a new ContentTransformer with a ParameterPasser.
ContentTransformer
public ContentTransformer()
- Need at least one zero arg constructor for Xalan classname instantiation
init
public void init(org.apache.xalan.extensions.XSLProcessorContext context,
org.apache.xalan.templates.ElemExtensionCall elem)
- Init this PageDispatcher and merge any required params.
transform
public java.lang.String transform(java.lang.String location,
java.lang.String inputFormat,
java.lang.String outputFormat)
- Transform the given content.
isSupported
public boolean isSupported(java.lang.String contentType)
- Return true if this given contentType is an RSS channel.