org.xmlBlaster.contrib.jmx
Class MX4JAdaptor.ContribXsltProcessor
java.lang.Object
mx4j.tools.adaptor.http.XSLTProcessor
org.xmlBlaster.contrib.jmx.MX4JAdaptor.ContribXsltProcessor
- All Implemented Interfaces:
- mx4j.tools.adaptor.http.ProcessorMBean, javax.xml.transform.URIResolver, mx4j.tools.adaptor.http.XSLTProcessorMBean
- Enclosing class:
- MX4JAdaptor
- public class MX4JAdaptor.ContribXsltProcessor
- extends mx4j.tools.adaptor.http.XSLTProcessor
| Fields inherited from class mx4j.tools.adaptor.http.XSLTProcessor |
|
|
Method Summary |
private java.lang.String |
debug(mx4j.tools.adaptor.http.HttpInputStream is)
|
private java.lang.String |
extractUserName(mx4j.tools.adaptor.http.HttpInputStream is)
|
java.lang.String |
getFile()
|
protected java.io.InputStream |
getInputStream(java.lang.String path)
|
private java.io.InputStream |
getInputStream(java.lang.String path,
java.lang.ClassLoader cl,
boolean fixFileSeparator)
Note on the classpath: to find a resource it has to be according to java nomenclature,
it will not find a document specified with '\'. |
private java.lang.String |
getTemplate(mx4j.tools.adaptor.http.HttpInputStream is)
|
private boolean |
isPathAbsolute(java.lang.String path)
|
void |
setFile(java.lang.String prefix)
|
void |
writeResponse(mx4j.tools.adaptor.http.HttpOutputStream outputStream,
mx4j.tools.adaptor.http.HttpInputStream inputStream,
org.w3c.dom.Document doc)
|
| Methods inherited from class mx4j.tools.adaptor.http.XSLTProcessor |
addMimeType, createTransformer, getDefaultPage, getLocale, getName, getPathInJar, isUseCache, isUseJar, isUsePath, notFoundElement, preProcess, processHttpException, resolve, setDefaultPage, setLocale, setLocaleString, setPathInJar, setUseCache, writeError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prefix
private java.lang.String prefix
warnings
private java.util.Set warnings
authMethod
private java.lang.String authMethod
roles
private java.util.Map roles
MX4JAdaptor.ContribXsltProcessor
public MX4JAdaptor.ContribXsltProcessor(java.util.Map roles,
java.lang.String authMethod)
setFile
public void setFile(java.lang.String prefix)
getFile
public java.lang.String getFile()
isPathAbsolute
private boolean isPathAbsolute(java.lang.String path)
getInputStream
private java.io.InputStream getInputStream(java.lang.String path,
java.lang.ClassLoader cl,
boolean fixFileSeparator)
- Note on the classpath: to find a resource it has to be according to java nomenclature,
it will not find a document specified with '\'.
- Parameters:
path - cl - fixFileSeparator -
- Returns:
getInputStream
protected java.io.InputStream getInputStream(java.lang.String path)
debug
private java.lang.String debug(mx4j.tools.adaptor.http.HttpInputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
getTemplate
private java.lang.String getTemplate(mx4j.tools.adaptor.http.HttpInputStream is)
extractUserName
private java.lang.String extractUserName(mx4j.tools.adaptor.http.HttpInputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
writeResponse
public void writeResponse(mx4j.tools.adaptor.http.HttpOutputStream outputStream,
mx4j.tools.adaptor.http.HttpInputStream inputStream,
org.w3c.dom.Document doc)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 1999-2007 The xmlBlaster.org contributers.