org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http
Interface XSLTProcessorMBean

All Superinterfaces:
ProcessorMBean
All Known Implementing Classes:
XSLTProcessor

public interface XSLTProcessorMBean
extends ProcessorMBean

Management interface for the XSLTProcessor MBean.

Version:
$Revision: 1.1.1.1 $
Author:
Carlos Quiroz

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 org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http.ProcessorMBean
getName, notFoundElement, preProcess, writeError, writeResponse
 

Method Detail

setFile

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

See Also:
getFile()

getFile

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

See Also:
setFile(java.lang.String)

getPathInJar

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

See Also:
setPathInJar(java.lang.String)

setPathInJar

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

See Also:
getPathInJar()

getDefaultPage

String getDefaultPage()
Returns the default start page

See Also:
setDefaultPage(java.lang.String)

setDefaultPage

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

See Also:
getDefaultPage()

isUseJar

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

See Also:
isUsePath(), setFile(java.lang.String)

isUsePath

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

See Also:
isUseJar(), setFile(java.lang.String)

addMimeType

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


setUseCache

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


isUseCache

boolean isUseCache()
Returns if the XSL Templates are cached


getLocale

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


setLocale

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


setLocaleString

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



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.