mx4j.tools.adaptor.http

Interface XSLTProcessorMBean

All Superinterfaces:
ProcessorMBean
Known Implementing Classes:
XSLTProcessor

public interface XSLTProcessorMBean
extends ProcessorMBean

Management interface for the XSLTProcessor MBean.
Version:
$Revision: 1.3 $

Method Summary

void
addMimeType(String extension, String type)
Maps a given extension with a specified MIME type
String
getDefaultPage()
Returns the default start page
String
getFile()
Returns the jar/zip file or the directory where XSL files are loaded
Locale
getLocale()
Returns the Locale used to internationalize the output
String
getPathInJar()
Returns the path of the XSL templates inside a jar file.
boolean
isUseCache()
Returns if the XSL Templates are cached
boolean
isUseJar()
Returns if the XSL files are contained in a jar/zip file.
boolean
isUsePath()
Returns if the XSL files are contained in a path.
void
setDefaultPage(String defaultPage)
Sets the default start page, serverbydomain as a default
void
setFile(String file)
Sets the jar/zip file or the directory where to find the XSL files
void
setLocale(Locale locale)
Sets the locale used to internationalize the output
void
setLocaleString(String locale)
Sets the locale used to internationalize the output, as a string
void
setPathInJar(String path)
Specifies the path of the XSL templates inside a jar file.
void
setUseCache(boolean useCache)
Sets the caching of the XSL Templates.

Methods inherited from interface mx4j.tools.adaptor.http.ProcessorMBean

getName, notFoundElement, preProcess, writeError, writeResponse

Method Details

addMimeType

public void addMimeType(String extension,
                        String type)
Maps a given extension with a specified MIME type

getDefaultPage

public String getDefaultPage()
Returns the default start page

getFile

public String getFile()
Returns the jar/zip file or the directory where XSL files are loaded

getLocale

public Locale getLocale()
Returns the Locale used to internationalize the output

getPathInJar

public String getPathInJar()
Returns the path of the XSL templates inside a jar file.

isUseCache

public boolean isUseCache()
Returns if the XSL Templates are cached

isUseJar

public boolean isUseJar()
Returns if the XSL files are contained in a jar/zip file.

isUsePath

public boolean isUsePath()
Returns if the XSL files are contained in a path.

setDefaultPage

public void setDefaultPage(String defaultPage)
Sets the default start page, serverbydomain as a default

setFile

public void setFile(String file)
Sets the jar/zip file or the directory where to find the XSL files

setLocale

public void setLocale(Locale locale)
Sets the locale used to internationalize the output

setLocaleString

public void setLocaleString(String locale)
Sets the locale used to internationalize the output, as a string

setPathInJar

public void setPathInJar(String path)
Specifies the path of the XSL templates inside a jar file.

setUseCache

public void setUseCache(boolean useCache)
Sets the caching of the XSL Templates.

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.