本文整理汇总了Java中org.opengts.war.report.ReportFactory类的典型用法代码示例。如果您正苦于以下问题:Java ReportFactory类的具体用法?Java ReportFactory怎么用?Java ReportFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ReportFactory类属于org.opengts.war.report包,在下文中一共展示了ReportFactory类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: main
import org.opengts.war.report.ReportFactory; //导入依赖的package包/类
public static void main(String argv[])
{
RTConfig.setCommandLineArgs(argv);
RTConfig.setDebugMode(true);
Print.setLogLevel(Print.LOG_ALL);
Print.setLogHeaderLevel(Print.LOG_ALL);
PrivateLabelLoader pll = new PrivateLabelLoader();
File xmlFile = RTConfig.getFile("xml",null);
if (xmlFile != null) {
if (isTrackServlet()) {
ReportFactory.loadReportDefinitionXML();
pll._resetLoadXML(xmlFile);
if (ReportFactory.hasParsingErrors()) {
pll._setHasParsingErrors(xmlFile);
}
} else {
pll._resetLoadXML(xmlFile);
}
} else {
pll._resetLoadDefaultXML();
}
}
示例2: ReportData
import org.opengts.war.report.ReportFactory; //导入依赖的package包/类
public ReportData(ReportFactory rptFact, RequestProperties reqState, Account acct, User user, ReportDeviceList devList)
throws ReportException
{
this.rptFactory = rptFact; // never null
this.reqState = reqState; // never null
this.privLabel = this.reqState.getPrivateLabel();
this.account = acct;
this.user = user;
this.deviceList = devList;
}
示例3: _resetLoadDefaultXML
import org.opengts.war.report.ReportFactory; //导入依赖的package包/类
protected int _resetLoadDefaultXML()
{
int count = 0;
if (isTrackServlet()) {
ReportFactory.loadReportDefinitionXML();
count = super._resetLoadDefaultXML();
if (ReportFactory.hasParsingErrors()) {
this._setHasParsingErrors(null);
}
} else {
count = super._resetLoadDefaultXML();
}
return count;
}
示例4: getReportFactory
import org.opengts.war.report.ReportFactory; //导入依赖的package包/类
public ReportFactory getReportFactory()
{
return this.rptFactory; // never null
}
示例5: getReportFactory
import org.opengts.war.report.ReportFactory; //导入依赖的package包/类
/**
*** Gets the named ReportFactory
*** @param rptName The ReportFactory name to return
*** @return The named ReportFactory
**/
public ReportFactory getReportFactory(String rptName)
{
ReportEntry re = this.getReportEntry(rptName);
return (re != null)? re.getReportFactory() : null;
}
示例6: getReportFactory
import org.opengts.war.report.ReportFactory; //导入依赖的package包/类
/**
*** Returns the report factory which ctreated this report
**/
public ReportFactory getReportFactory()
{
return this.rptFactory; // never null
}