org.carrot2.util.xsltfilter
Class XSLTFilterConstants

java.lang.Object
  extended by org.carrot2.util.xsltfilter.XSLTFilterConstants

public final class XSLTFilterConstants
extends Object

A public class with several constants used in the XSLT filter.


Field Summary
static String NO_XSLT_PROCESSING
          To disable XSLT filtering for a given request (useful to return an XML verbatim, for example), set any object under this key in the request context, for example:
static String XSLT_PARAMS_MAP
          To pass parameters to a stylesheet, register a Map attribute with the key equal to this constant in the request context.
 
Constructor Summary
XSLTFilterConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_XSLT_PROCESSING

public static final String NO_XSLT_PROCESSING
To disable XSLT filtering for a given request (useful to return an XML verbatim, for example), set any object under this key in the request context, for example:
 request.setAttribute(XsltFilter.NO_XSLT_PROCESSING, Boolean.TRUE);
 
or pass a request parameter with this value.

See Also:
Constant Field Values

XSLT_PARAMS_MAP

public static final String XSLT_PARAMS_MAP
To pass parameters to a stylesheet, register a Map attribute with the key equal to this constant in the request context.

See Also:
Constant Field Values
Constructor Detail

XSLTFilterConstants

public XSLTFilterConstants()


Copyright (c) Dawid Weiss, Stanislaw Osinski