com.etasoft.trans.transaction
Class axOutputHandler

java.lang.Object
  extended bycom.etasoft.trans.transaction.axDocHandler
      extended bycom.etasoft.trans.transaction.axOutputHandler
Direct Known Subclasses:
axEDIOutputHandler, axHL7OutputHandler, axJdbcOutputHandler, axTextOutputHandler, axXMLOutputHandler

public abstract class axOutputHandler
extends axDocHandler

Output handler.


Constructor Summary
axOutputHandler(axMap map, axMapRoot mapRoot, axWriterBuffer writerBuffer)
           
 
Method Summary
abstract  void endDocument()
           
abstract  void endTag(java.lang.Object tag)
           
abstract  boolean isStopped()
           
abstract  void startDocument()
           
 void startTag(java.lang.Object tag, boolean fixedLength, int length, java.util.ArrayList arrElements)
           
abstract  void text(java.lang.String str)
           
protected  void writeElement(com.etasoft.trans.runtime.axIDFItem idfItem, java.lang.StringBuffer buff)
           
 
Methods inherited from class com.etasoft.trans.transaction.axDocHandler
getMap, getMapRoot, getMetaData, getSegmentCount, getSeparators, isMatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axOutputHandler

public axOutputHandler(axMap map,
                       axMapRoot mapRoot,
                       axWriterBuffer writerBuffer)
Method Detail

startDocument

public abstract void startDocument()
                            throws axException
Specified by:
startDocument in class axDocHandler
Throws:
axException

endDocument

public abstract void endDocument()
                          throws axException
Specified by:
endDocument in class axDocHandler
Throws:
axException

startTag

public void startTag(java.lang.Object tag,
                     boolean fixedLength,
                     int length,
                     java.util.ArrayList arrElements)
              throws axException
Throws:
axException

endTag

public abstract void endTag(java.lang.Object tag)
                     throws axException
Specified by:
endTag in class axDocHandler
Throws:
axException

text

public abstract void text(java.lang.String str)
                   throws axException
Specified by:
text in class axDocHandler
Throws:
axException

isStopped

public abstract boolean isStopped()
Specified by:
isStopped in class axDocHandler

writeElement

protected void writeElement(com.etasoft.trans.runtime.axIDFItem idfItem,
                            java.lang.StringBuffer buff)
                     throws axException
Throws:
axException