Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
mx4j.tools.adaptor.http.XSLTProcessor
public class XSLTProcessor
extends java.lang.Object
implements ProcessorMBean, XSLTProcessorMBean, URIResolver
Constructor Summary | |
Method Summary | |
void |
|
protected Transformer |
|
String | |
String |
|
protected InputStream |
|
Locale | |
String |
|
String | |
boolean | |
boolean |
|
boolean | |
String |
|
String |
|
protected void | |
Source |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
public void addMimeType(String extension, String type)
- Specified by:
- addMimeType in interface XSLTProcessorMBean
protected Transformer createTransformer(String path)
public String getDefaultPage()
- Specified by:
- getDefaultPage in interface XSLTProcessorMBean
protected InputStream getInputStream(String path)
public String notFoundElement(String path, HttpOutputStream out, HttpInputStream in) throws IOException, HttpException
- Specified by:
- notFoundElement in interface ProcessorMBean
protected void processHttpException(HttpInputStream in, HttpOutputStream out, HttpException e) throws IOException
public Source resolve(String href, String base)
public void setDefaultPage(String defaultPage)
- Specified by:
- setDefaultPage in interface XSLTProcessorMBean
public void setLocaleString(String locale)
- Specified by:
- setLocaleString in interface XSLTProcessorMBean
public void setPathInJar(String path)
- Specified by:
- setPathInJar in interface XSLTProcessorMBean
public void setUseCache(boolean useCache)
- Specified by:
- setUseCache in interface XSLTProcessorMBean
public void writeError(HttpOutputStream out, HttpInputStream in, Exception e) throws IOException
- Specified by:
- writeError in interface ProcessorMBean
public void writeResponse(HttpOutputStream out, HttpInputStream in, Document document) throws IOException
- Specified by:
- writeResponse in interface ProcessorMBean