com.uwyn.rife.template
Class TemplateTransformerXslt

java.lang.Object
  extended by com.uwyn.rife.template.TemplateTransformerXslt
All Implemented Interfaces:
TemplateTransformer

public class TemplateTransformerXslt
extends Object
implements TemplateTransformer


Field Summary
static String OUTPUT_INDENT
           
static String OUTPUT_INDENT_AMOUNT
           
static String OUTPUT_MEDIA_TYPE
           
static String OUTPUT_METHOD
           
static String OUTPUT_OMIT_META_TAG
           
static String OUTPUT_USE_URL_ESCAPING
           
static String OUTPUT_VERSION
           
 
Constructor Summary
TemplateTransformerXslt()
           
 
Method Summary
 void addFilter(String xmlPath)
           
 void clearFilters()
           
 String getEncoding()
           
 ResourceFinder getResourceFinder()
           
 String getState()
           
 void setOutputProperties(Properties properties)
           
 void setOutputProperty(String name, String value)
           
 void setResourceFinder(ResourceFinder resourceFinder)
           
 Collection<URL> transform(String templateName, URL resource, OutputStream result, String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_METHOD

public static final String OUTPUT_METHOD
See Also:
Constant Field Values

OUTPUT_INDENT

public static final String OUTPUT_INDENT
See Also:
Constant Field Values

OUTPUT_MEDIA_TYPE

public static final String OUTPUT_MEDIA_TYPE
See Also:
Constant Field Values

OUTPUT_VERSION

public static final String OUTPUT_VERSION
See Also:
Constant Field Values

OUTPUT_INDENT_AMOUNT

public static final String OUTPUT_INDENT_AMOUNT
See Also:
Constant Field Values

OUTPUT_USE_URL_ESCAPING

public static final String OUTPUT_USE_URL_ESCAPING
See Also:
Constant Field Values

OUTPUT_OMIT_META_TAG

public static final String OUTPUT_OMIT_META_TAG
See Also:
Constant Field Values
Constructor Detail

TemplateTransformerXslt

public TemplateTransformerXslt()
Method Detail

getState

public String getState()
Specified by:
getState in interface TemplateTransformer

addFilter

public void addFilter(String xmlPath)
               throws TemplateException
Throws:
TemplateException

clearFilters

public void clearFilters()

getResourceFinder

public ResourceFinder getResourceFinder()
Specified by:
getResourceFinder in interface TemplateTransformer

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Specified by:
setResourceFinder in interface TemplateTransformer

setOutputProperty

public void setOutputProperty(String name,
                              String value)
                       throws IllegalArgumentException
Throws:
IllegalArgumentException

setOutputProperties

public void setOutputProperties(Properties properties)
                         throws IllegalArgumentException
Throws:
IllegalArgumentException

transform

public Collection<URL> transform(String templateName,
                                 URL resource,
                                 OutputStream result,
                                 String encoding)
                          throws TemplateException
Specified by:
transform in interface TemplateTransformer
Throws:
TemplateException

getEncoding

public String getEncoding()
Specified by:
getEncoding in interface TemplateTransformer


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.