mx4j.tools.adaptor.http

Interface XSLTProcessorMBean

public interface XSLTProcessorMBean extends ProcessorMBean

Management interface for the XSLTProcessor MBean.

Version: $Revision: 1.3 $

Method Summary
voidaddMimeType(String extension, String type)
Maps a given extension with a specified MIME type
StringgetDefaultPage()
Returns the default start page
StringgetFile()
Returns the jar/zip file or the directory where XSL files are loaded
LocalegetLocale()
Returns the Locale used to internationalize the output
StringgetPathInJar()
Returns the path of the XSL templates inside a jar file.
booleanisUseCache()
Returns if the XSL Templates are cached
booleanisUseJar()
Returns if the XSL files are contained in a jar/zip file.
booleanisUsePath()
Returns if the XSL files are contained in a path.
voidsetDefaultPage(String defaultPage)
Sets the default start page, serverbydomain as a default
voidsetFile(String file)
Sets the jar/zip file or the directory where to find the XSL files
voidsetLocale(Locale locale)
Sets the locale used to internationalize the output
voidsetLocaleString(String locale)
Sets the locale used to internationalize the output, as a string
voidsetPathInJar(String path)
Specifies the path of the XSL templates inside a jar file.
voidsetUseCache(boolean useCache)
Sets the caching of the XSL Templates.

Method Detail

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

See Also: XSLTProcessorMBean

getFile

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

See Also: XSLTProcessorMBean

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.

See Also: XSLTProcessorMBean

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.

See Also: XSLTProcessorMBean XSLTProcessorMBean

isUsePath

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

See Also: XSLTProcessorMBean XSLTProcessorMBean

setDefaultPage

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

See Also: XSLTProcessorMBean

setFile

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

See Also: XSLTProcessorMBean

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.

See Also: XSLTProcessorMBean

setUseCache

public void setUseCache(boolean useCache)
Sets the caching of the XSL Templates.
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.