com.pmease.quickbuild.plugin.report.engine.datareport.io
Class ReportStaxReader

java.lang.Object
  extended by org.dom4j.io.STAXEventReader
      extended by com.pmease.quickbuild.plugin.report.engine.datareport.io.ReportStaxReader
All Implemented Interfaces:
ReportReader, ResourceReader<DataReport>, TypedObject

public class ReportStaxReader
extends org.dom4j.io.STAXEventReader
implements ReportReader


Constructor Summary
ReportStaxReader(DataReport report, java.io.File file)
           
ReportStaxReader(DataReport destReport, java.io.InputStream in)
           
 
Method Summary
 void close()
           
 java.lang.String getType()
           
protected  void onAfterRead()
           
 DataReport read()
           
protected  void readReportInfo(javax.xml.stream.events.StartElement element)
           
protected  void readRow(org.dom4j.Element element)
           
 
Methods inherited from class org.dom4j.io.STAXEventReader
createAttribute, createCharacterData, createComment, createElement, createEntity, createNamespace, createProcessingInstruction, createQName, readAttribute, readCharacters, readComment, readDocument, readDocument, readDocument, readDocument, readDocument, readElement, readEntityReference, readNamespace, readNode, readProcessingInstruction, setDocumentFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportStaxReader

public ReportStaxReader(DataReport destReport,
                        java.io.InputStream in)

ReportStaxReader

public ReportStaxReader(DataReport report,
                        java.io.File file)
Method Detail

close

public void close()
Specified by:
close in interface ReportReader
Specified by:
close in interface ResourceReader<DataReport>

read

public DataReport read()
Specified by:
read in interface ResourceReader<DataReport>

readReportInfo

protected void readReportInfo(javax.xml.stream.events.StartElement element)

readRow

protected void readRow(org.dom4j.Element element)

onAfterRead

protected void onAfterRead()

getType

public java.lang.String getType()
Specified by:
getType in interface TypedObject


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.