WPI GDC CMS 0.0.1

org.wpi.gdc.cms.main
Class DataSourcePassthrough

java.lang.Object
  |
  +--org.wpi.gdc.cms.main.DataSource
        |
        +--org.wpi.gdc.cms.main.DataSourcePassthrough
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler

public abstract class DataSourcePassthrough
extends DataSource

Same as DataSource, except that this method passes all SAX events received onto the consumer.

Version:
1.2
Author:
dmpotter

Fields inherited from class org.wpi.gdc.cms.main.DataSource
locator, request, response, session, user, xmlConsumer
 
Constructor Summary
DataSourcePassthrough()
           
 
Method Summary
 void characters(char[] c, int start, int len)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void comment(char[] ch, int start, int len)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void endCDATA()
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void endDocument()
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void endDTD()
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void endElement(java.lang.String uri, java.lang.String loc, java.lang.String raw)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void endEntity(java.lang.String name)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void ignorableWhitespace(char[] c, int start, int len)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void processingInstruction(java.lang.String target, java.lang.String data)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void skippedEntity(java.lang.String name)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void startCDATA()
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void startDocument()
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void startElement(java.lang.String uri, java.lang.String loc, java.lang.String raw, org.xml.sax.Attributes a)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 void startEntity(java.lang.String name)
          A SAX event; this implementation passes the SAX event to the XML Consumer.
 
Methods inherited from class org.wpi.gdc.cms.main.DataSource
endDataSource, endPrefixMapping, sendDatabaseException, sendException, sendString, sendString, setDocumentLocator, setupDataSource, startDataSource, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourcePassthrough

public DataSourcePassthrough()
Method Detail

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
startDocument in class DataSource

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
endDocument in class DataSource

startElement

public void startElement(java.lang.String uri,
                         java.lang.String loc,
                         java.lang.String raw,
                         org.xml.sax.Attributes a)
                  throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
startElement in class DataSource

endElement

public void endElement(java.lang.String uri,
                       java.lang.String loc,
                       java.lang.String raw)
                throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
endElement in class DataSource

characters

public void characters(char[] c,
                       int start,
                       int len)
                throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
characters in class DataSource

ignorableWhitespace

public void ignorableWhitespace(char[] c,
                                int start,
                                int len)
                         throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
ignorableWhitespace in class DataSource

processingInstruction

public void processingInstruction(java.lang.String target,
                                  java.lang.String data)
                           throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
processingInstruction in class DataSource

skippedEntity

public void skippedEntity(java.lang.String name)
                   throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
skippedEntity in class DataSource

startDTD

public void startDTD(java.lang.String name,
                     java.lang.String publicId,
                     java.lang.String systemId)
              throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
startDTD in class DataSource

endDTD

public void endDTD()
            throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
endDTD in class DataSource

startEntity

public void startEntity(java.lang.String name)
                 throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
startEntity in class DataSource

endEntity

public void endEntity(java.lang.String name)
               throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
endEntity in class DataSource

startCDATA

public void startCDATA()
                throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
startCDATA in class DataSource

endCDATA

public void endCDATA()
              throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
endCDATA in class DataSource

comment

public void comment(char[] ch,
                    int start,
                    int len)
             throws org.xml.sax.SAXException
A SAX event; this implementation passes the SAX event to the XML Consumer.
Overrides:
comment in class DataSource

WPI GDC CMS 0.0.1

Copyright © 2001 WPI Game Development Club. All Rights Reserved.