org.exolab.castor.dsml
Class Producer

java.lang.Object
  extended by org.exolab.castor.dsml.Producer
Direct Known Subclasses:
JNDIProducer, MozillaProducer

public abstract class Producer
extends Object

Version:
$Revision: 8145 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Author:
Assaf Arkin

Field Summary
protected  DocumentHandler _docHandler
           
 
Constructor Summary
Producer(DocumentHandler docHandler, boolean namespace)
           
 
Method Summary
 void endDocument()
           
protected  void enterDirectory()
           
protected  void enterSchema()
           
protected  void leaveDirectory()
           
protected  void leaveSchema()
           
protected  String prefix(String tagName)
           
 void produce(ImportDescriptor importDesc)
           
 void produce(SearchDescriptor searchDesc)
           
 void startDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_docHandler

protected DocumentHandler _docHandler
Constructor Detail

Producer

public Producer(DocumentHandler docHandler,
                boolean namespace)
Method Detail

startDocument

public void startDocument()
                   throws SAXException
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException
Throws:
SAXException

produce

public void produce(ImportDescriptor importDesc)
             throws SAXException
Throws:
SAXException

produce

public void produce(SearchDescriptor searchDesc)
             throws SAXException
Throws:
SAXException

enterDirectory

protected void enterDirectory()
                       throws SAXException
Throws:
SAXException

leaveDirectory

protected void leaveDirectory()
                       throws SAXException
Throws:
SAXException

enterSchema

protected void enterSchema()
                    throws SAXException
Throws:
SAXException

leaveSchema

protected void leaveSchema()
                    throws SAXException
Throws:
SAXException

prefix

protected String prefix(String tagName)


Copyright © 2011. All Rights Reserved.