jdbreport.model.clipboard
Class FragmentHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by and.util.xml.XMLReaderHandler
          extended by jdbreport.model.io.xml.DefaultReaderHandler
              extended by jdbreport.model.clipboard.FragmentHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class FragmentHandler
extends DefaultReaderHandler

Version:
1.1 03/09/08
Author:
Andrey Kholmanskih

Field Summary
static String FRAGMENT
           
static String ROOT_TAG
           
protected  int startCol
           
protected  int startRow
           
 
Fields inherited from class and.util.xml.XMLReaderHandler
handler, isParse, rootName, version
 
Constructor Summary
FragmentHandler(ReportModel model, XMLReader reader, int startRow, int startCol)
           
 
Method Summary
protected  and.util.xml.XMLParser getClipboardHandler()
           
 ReportModel getReportModel()
           
 void startElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class jdbreport.model.io.xml.DefaultReaderHandler
getCurrentModel, getReportBook, setCurrentModel
 
Methods inherited from class and.util.xml.XMLReaderHandler
characters, endElement, getReader, getVersion, popHandler, pushHandler, setReader
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRAGMENT

public static final String FRAGMENT
See Also:
Constant Field Values

ROOT_TAG

public static final String ROOT_TAG
See Also:
Constant Field Values

startRow

protected int startRow

startCol

protected int startCol
Constructor Detail

FragmentHandler

public FragmentHandler(ReportModel model,
                       XMLReader reader,
                       int startRow,
                       int startCol)
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class and.util.xml.XMLReaderHandler
Throws:
SAXException

getClipboardHandler

protected and.util.xml.XMLParser getClipboardHandler()

getReportModel

public ReportModel getReportModel()
Overrides:
getReportModel in class DefaultReaderHandler