Package it.eng.spagobi.tools.dataset.common.datareader

Examples of it.eng.spagobi.tools.dataset.common.datareader.XmlDataReader


    if("csv".equalsIgnoreCase( fileExtension )) {
      logger.info("File format: [CSV]");
      setDataReader( new CsvDataReader() );
    } else if ("xml".equalsIgnoreCase( fileExtension ) || "txt".equalsIgnoreCase( fileExtension )) {
      logger.info("File format: [XML]");
      setDataReader( new XmlDataReader() );
    } else {
      throw new  IllegalArgumentException("[" + fileExtension+ "] is not a supported file extension");
    }
  }
View Full Code Here


  
 
  public JavaClassDataSet() {
    super();
    setDataProxy( new JavaClassDataProxy() );
    setDataReader( new XmlDataReader() );
  }
View Full Code Here

  }
 
  public JavaClassDataSet(SpagoBiDataSet dataSetConfig) {
    super(dataSetConfig);
    setDataProxy( new JavaClassDataProxy() );
    setDataReader( new XmlDataReader() );   
   
    setClassName( dataSetConfig.getJavaClassName() );
  }
View Full Code Here

 
  public ScriptDataSet() {
    super();
    setDataProxy( new ScriptDataProxy() );
    setDataReader( new XmlDataReader() );
    addBehaviour( new QuerableBehaviour(this) );
  }
View Full Code Here

 
  public ScriptDataSet(SpagoBiDataSet dataSetConfig) {
    super(dataSetConfig);
   
    setDataProxy( new ScriptDataProxy() );
    setDataReader( new XmlDataReader() );
    addBehaviour( new QuerableBehaviour(this) )
    setScript( dataSetConfig.getScript() );
    setLanguageScript(dataSetConfig.getLanguageScript());
   
  }
View Full Code Here

   * Instantiates a new wS data set.
   */
  public WebServiceDataSet() {
    super();
    setDataProxy( new WebServiceDataProxy());
    setDataReader( new XmlDataReader() );
    //addBehaviour( new QuerableBehaviour(this) );
  }
View Full Code Here

 
  public WebServiceDataSet(SpagoBiDataSet dataSetConfig) {
    super(dataSetConfig);
   
    setDataProxynew WebServiceDataProxy() );
    setDataReader( new XmlDataReader() );
   
    setAddress( dataSetConfig.getAdress() );
    setOperation( dataSetConfig.getOperation() );
    //setParamsMap(dataSetConfig.getP)
   
View Full Code Here

TOP

Related Classes of it.eng.spagobi.tools.dataset.common.datareader.XmlDataReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.