ecar.servlet.relatorio
Class LayoutArquivoExportacao

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by ecar.servlet.relatorio.AbstractServletReportXmlXsl
              extended by ecar.servlet.relatorio.LayoutArquivoExportacao
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class LayoutArquivoExportacao
extends AbstractServletReportXmlXsl

Author:
aleixo
See Also:
Serialized Form

Field Summary
private  ConfiguracaoCfg configuracao
           
private static long serialVersionUID
           
private static int TAMANHO_VALORES
           
 
Fields inherited from class ecar.servlet.relatorio.AbstractServletReportXmlXsl
logger, SAIDA_DOWNLOAD, SAIDA_DOWNLOAD_E_GRAVAR, SAIDA_GRAVAR
 
Constructor Summary
LayoutArquivoExportacao()
           
 
Method Summary
 void escreveCampoTr(XmlBuilder builder, java.lang.String nome, java.lang.String posIni, java.lang.String tamanho, java.lang.String tipo, java.lang.String conteudo)
          Escreve campo Tr.
 void geraXMLTR00(XmlBuilder builder)
          Gera XMLTROO.
 void geraXMLTR01(XmlBuilder builder)
          Gera XMLTRO1.
 void geraXMLTR02(XmlBuilder builder)
          Gera XMLTRO2.
 void geraXMLTR99(XmlBuilder builder)
          Gera XMLTR99.
 java.lang.String getErrorPage(javax.servlet.http.HttpServletRequest request, java.lang.String mensagem)
          Retorna pagina de erro.
 java.lang.StringBuffer getXml(javax.servlet.http.HttpServletRequest request)
          Pega XML.
 java.lang.String getXslFileName()
          Pega o nome do arquivo XLS.
 
Methods inherited from class ecar.servlet.relatorio.AbstractServletReportXmlXsl
getCaminhoArquivoSaidaGravar, getSaida, service, setCaminhoArquivoSaidaGravar, setSaida
 
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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

TAMANHO_VALORES

private static final int TAMANHO_VALORES
See Also:
Constant Field Values

configuracao

private ConfiguracaoCfg configuracao
Constructor Detail

LayoutArquivoExportacao

public LayoutArquivoExportacao()
Method Detail

getXml

public java.lang.StringBuffer getXml(javax.servlet.http.HttpServletRequest request)
                              throws ECARException
Pega XML.

Specified by:
getXml in class AbstractServletReportXmlXsl
Parameters:
HttpServletRequest - request
Returns:
StringBuffer
Throws:
ECARException
Since:
N/C

geraXMLTR00

public void geraXMLTR00(XmlBuilder builder)
Gera XMLTROO.

Parameters:
XmlBuilder - builder
Since:
N/C

geraXMLTR01

public void geraXMLTR01(XmlBuilder builder)
Gera XMLTRO1.

Parameters:
XmlBuilder - builder
Since:
N/C

geraXMLTR02

public void geraXMLTR02(XmlBuilder builder)
Gera XMLTRO2.

Parameters:
XmlBuilder - builder
Since:
N/C

geraXMLTR99

public void geraXMLTR99(XmlBuilder builder)
Gera XMLTR99.

Parameters:
XmlBuilder - builder
Since:
N/C

escreveCampoTr

public void escreveCampoTr(XmlBuilder builder,
                           java.lang.String nome,
                           java.lang.String posIni,
                           java.lang.String tamanho,
                           java.lang.String tipo,
                           java.lang.String conteudo)
Escreve campo Tr.

Parameters:
XmlBuilder - builder
String - nome
String - posIni
String - tamanho
String - tipo
String - conteudo
Since:
N/C

getXslFileName

public java.lang.String getXslFileName()
Pega o nome do arquivo XLS.

Specified by:
getXslFileName in class AbstractServletReportXmlXsl
Returns:
String
Since:
N/C

getErrorPage

public java.lang.String getErrorPage(javax.servlet.http.HttpServletRequest request,
                                     java.lang.String mensagem)
Retorna pagina de erro.

Specified by:
getErrorPage in class AbstractServletReportXmlXsl
Parameters:
HttpServletRequest - request
String - mensagem
Returns:
String - Erro da pagina
Since:
N/C


Copyright © 2007, PRODEPA - Processamento de Dados do Pará