org.exolab.castor.dsml
Class Consumer

java.lang.Object
  extended by org.exolab.castor.dsml.Consumer
All Implemented Interfaces:
DocumentHandler
Direct Known Subclasses:
JNDIConsumer, MozillaConsumer

public abstract class Consumer
extends Object
implements DocumentHandler

Version:
$Revision: 8145 $ $Date: 2006-04-26 13:58:52 -0600 (Wed, 26 Apr 2006) $
Author:
Assaf Arkin

Constructor Summary
Consumer()
           
 
Method Summary
 void characters(char[] ch, int offset, int length)
           
 void endDocument()
           
 void endElement(String tagName)
           
protected abstract  DocumentHandler getEntryConsumer()
           
abstract  Enumeration getResults()
           
 void ignorableWhitespace(char[] ch, int offset, int length)
           
 void processingInstruction(String target, String instruction)
           
 void setDocumentLocator(Locator locator)
           
 void startDocument()
           
 void startElement(String tagName, AttributeList attr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Consumer

public Consumer()
Method Detail

getResults

public abstract Enumeration getResults()

getEntryConsumer

protected abstract DocumentHandler getEntryConsumer()

startElement

public void startElement(String tagName,
                         AttributeList attr)
                  throws SAXException
Specified by:
startElement in interface DocumentHandler
Throws:
SAXException

endElement

public void endElement(String tagName)
                throws SAXException
Specified by:
endElement in interface DocumentHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int offset,
                       int length)
                throws SAXException
Specified by:
characters in interface DocumentHandler
Throws:
SAXException

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int offset,
                                int length)
                         throws SAXException
Specified by:
ignorableWhitespace in interface DocumentHandler
Throws:
SAXException

processingInstruction

public void processingInstruction(String target,
                                  String instruction)
                           throws SAXException
Specified by:
processingInstruction in interface DocumentHandler
Throws:
SAXException

startDocument

public void startDocument()
                   throws SAXException
Specified by:
startDocument in interface DocumentHandler
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException
Specified by:
endDocument in interface DocumentHandler
Throws:
SAXException

setDocumentLocator

public void setDocumentLocator(Locator locator)
Specified by:
setDocumentLocator in interface DocumentHandler


Copyright © 2011. All Rights Reserved.