Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.3 $

Method Summary
`void` | `addMimeType(java.lang.String extension, java.lang.String type)` Maps a given extension with a specified MIME type
`java.lang.String` | `getDefaultPage()` Returns the default start page
`java.lang.String` | `getFile()` Returns the jar/zip file or the directory where XSL files are loaded
`java.util.Locale` | `getLocale()` Returns the Locale used to internationalize the output
`java.lang.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(java.lang.String defaultPage)` Sets the default start page, serverbydomain as a default
`void` | `setFile(java.lang.String file)` Sets the jar/zip file or the directory where to find the XSL files
`void` | `setLocale(java.util.Locale locale)` Sets the locale used to internationalize the output
`void` | `setLocaleString(java.lang.String locale)` Sets the locale used to internationalize the output, as a string
`void` | `setPathInJar(java.lang.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 Detail

### setFile

    public void setFile(java.lang.String file)

  Sets the jar/zip file or the directory where to find the XSL files

  See Also:
    `getFile()`

### getFile

    public java.lang.String getFile()

  Returns the jar/zip file or the directory where XSL files are loaded

  See Also:
    `setFile(java.lang.String)`

### getPathInJar

    public java.lang.String getPathInJar()

  Returns the path of the XSL templates inside a jar file.

  See Also:
    `setPathInJar(java.lang.String)`

### setPathInJar

    public void setPathInJar(java.lang.String path)

  Specifies the path of the XSL templates inside a jar file.

  See Also:
    `getPathInJar()`

### getDefaultPage

    public java.lang.String getDefaultPage()

  Returns the default start page

  See Also:
    `setDefaultPage(java.lang.String)`

### setDefaultPage

    public void setDefaultPage(java.lang.String defaultPage)

  Sets the default start page, serverbydomain as a default

  See Also:
    `getDefaultPage()`

### isUseJar

    public boolean isUseJar()

  Returns if the XSL files are contained in a jar/zip file.

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

### isUsePath

    public boolean isUsePath()

  Returns if the XSL files are contained in a path.

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

### addMimeType

    public void addMimeType(java.lang.String extension,
                            java.lang.String type)

  Maps a given extension with a specified MIME type

### setUseCache

    public void setUseCache(boolean useCache)

  Sets the caching of the XSL Templates.

### isUseCache

    public boolean isUseCache()

  Returns if the XSL Templates are cached

### getLocale

    public java.util.Locale getLocale()

  Returns the Locale used to internationalize the output

### setLocale

    public void setLocale(java.util.Locale locale)

  Sets the locale used to internationalize the output

### setLocaleString

    public void setLocaleString(java.lang.String locale)

  Sets the locale used to internationalize the output, as a string

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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