com.etasoft.trans.transaction
Class axInputHandler

java.lang.Object
  extended bycom.etasoft.trans.transaction.axDocHandler
      extended bycom.etasoft.trans.transaction.axInputHandler
Direct Known Subclasses:
axEDIInputHandler, axHL7InputHandler, axInputHandlerTest, axJdbcInputHandler, axTextInputHandler, axXMLInputHandler

public abstract class axInputHandler
extends axDocHandler

Input handler.


Constructor Summary
axInputHandler(axMap map, axMapRoot mapRoot, com.etasoft.trans.runtime.axIDFFrame idfFrame, axInfoList expList)
           
 
Method Summary
 void endDocument()
           
 void endTag(java.lang.Object tag)
           
 com.etasoft.trans.runtime.axIDFFrame getIDFFrame()
          Return IDF for producers.
protected  boolean isMatch(axMapObject mapObj, java.lang.String tag, boolean fixedLength, int length, java.util.HashMap tabElements)
          Is match.
abstract  boolean isStopped()
           
abstract  void startDocument()
           
abstract  boolean startTag(java.lang.Object tag, boolean fixedLength, int length, java.util.HashMap tabElements)
           
 void text(java.lang.String str)
           
 boolean walkTree(java.lang.String tag, boolean fixedLength, int length, java.util.HashMap tabElements)
           
 
Methods inherited from class com.etasoft.trans.transaction.axDocHandler
getMap, getMapRoot, getMetaData, getSegmentCount, getSeparators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axInputHandler

public axInputHandler(axMap map,
                      axMapRoot mapRoot,
                      com.etasoft.trans.runtime.axIDFFrame idfFrame,
                      axInfoList expList)
Method Detail

getIDFFrame

public com.etasoft.trans.runtime.axIDFFrame getIDFFrame()
Return IDF for producers.


walkTree

public boolean walkTree(java.lang.String tag,
                        boolean fixedLength,
                        int length,
                        java.util.HashMap tabElements)
                 throws axException
Throws:
axException

isMatch

protected boolean isMatch(axMapObject mapObj,
                          java.lang.String tag,
                          boolean fixedLength,
                          int length,
                          java.util.HashMap tabElements)
Is match.

Overrides:
isMatch in class axDocHandler

startDocument

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

endDocument

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

startTag

public abstract boolean startTag(java.lang.Object tag,
                                 boolean fixedLength,
                                 int length,
                                 java.util.HashMap tabElements)
                          throws axException
Throws:
axException

endTag

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

text

public 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