|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet ecar.servlet.relatorio.AbstractServletReportXmlXsl
public abstract class AbstractServletReportXmlXsl
Field Summary | |
---|---|
private java.lang.String |
caminhoArquivoSaidaGravar
|
protected org.apache.log4j.Logger |
logger
|
private java.lang.String |
saida
|
static java.lang.String |
SAIDA_DOWNLOAD
|
static java.lang.String |
SAIDA_DOWNLOAD_E_GRAVAR
|
static java.lang.String |
SAIDA_GRAVAR
|
Constructor Summary | |
---|---|
AbstractServletReportXmlXsl()
Construtor. |
Method Summary | |
---|---|
java.lang.String |
getCaminhoArquivoSaidaGravar()
Retorna String caminhoArquivoSaidaGravar. |
abstract java.lang.String |
getErrorPage(javax.servlet.http.HttpServletRequest request,
java.lang.String mensagem)
|
java.lang.String |
getSaida()
Retorna String saida. |
abstract java.lang.StringBuffer |
getXml(javax.servlet.http.HttpServletRequest request)
|
abstract java.lang.String |
getXslFileName()
|
private void |
parser(java.io.File stylesheet,
java.lang.StringBuffer xml,
javax.servlet.http.HttpServletResponse response)
Mescla dados do XML com XSL. |
private void |
parserPPT(java.lang.String caminhoImagens,
java.lang.StringBuffer xml,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Mescla dados do XML com XSL e exporta o relatorio para PPT. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Prepara relatorio para ser impresso, mesclando XSL e XML. |
void |
setCaminhoArquivoSaidaGravar(java.lang.String caminhoArquivoSaidaGravar)
Atribui valor especificado para String caminhoArquivoSaidaGravar. |
void |
setSaida(java.lang.String saida)
Atribui velor especificado para String saida. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.log4j.Logger logger
public static java.lang.String SAIDA_DOWNLOAD
public static java.lang.String SAIDA_GRAVAR
public static java.lang.String SAIDA_DOWNLOAD_E_GRAVAR
private java.lang.String saida
private java.lang.String caminhoArquivoSaidaGravar
Constructor Detail |
---|
public AbstractServletReportXmlXsl()
Method Detail |
---|
public java.lang.String getSaida()
public void setSaida(java.lang.String saida)
String
- saidapublic final void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
HttpServletRequest
- requestHttpServletResponse
- response
ECARException
java.io.IOException
javax.servlet.ServletException
public abstract java.lang.StringBuffer getXml(javax.servlet.http.HttpServletRequest request) throws ECARException
HttpServletRequest
- request
ECARException
public abstract java.lang.String getXslFileName()
public abstract java.lang.String getErrorPage(javax.servlet.http.HttpServletRequest request, java.lang.String mensagem)
HttpServletRequest
- requestString
- mensagem
private void parser(java.io.File stylesheet, java.lang.StringBuffer xml, javax.servlet.http.HttpServletResponse response) throws ECARException
String
- stylesheetStringBuffer
- xmlHttpServletResponse
- response
ECARException
private void parserPPT(java.lang.String caminhoImagens, java.lang.StringBuffer xml, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ECARException
String
- stylesheetStringBuffer
- xmlHttpServletResponse
- response
ECARException
public java.lang.String getCaminhoArquivoSaidaGravar()
public void setCaminhoArquivoSaidaGravar(java.lang.String caminhoArquivoSaidaGravar)
String
- caminhoArquivoSaidaGravar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |