com.etasoft.trans.transaction
Class axDocHandler

java.lang.Object
  extended bycom.etasoft.trans.transaction.axDocHandler
Direct Known Subclasses:
axInputHandler, axOutputHandler

public abstract class axDocHandler
extends java.lang.Object

Event sink interface for parser.


Constructor Summary
axDocHandler(axMap map, axMapRoot mapRoot)
           
 
Method Summary
abstract  void endDocument()
           
abstract  void endTag(java.lang.Object tag)
           
 axMap getMap()
          Return map.
 axMapRoot getMapRoot()
          Return map root item.
 axMapMetaData getMetaData()
          Get extra meta data for the parser.
 int getSegmentCount()
          Return segment count.
 axMapSeparators getSeparators()
          Get separators from axMapRoot.
protected  boolean isMatch(axMapObject mapObj, java.lang.String tag, boolean fixedLength, int length, java.util.HashMap tabElements)
           
abstract  boolean isStopped()
           
abstract  void startDocument()
           
abstract  void text(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axDocHandler

public axDocHandler(axMap map,
                    axMapRoot mapRoot)
Method Detail

startDocument

public abstract void startDocument()
                            throws axException
Throws:
axException

endDocument

public abstract void endDocument()
                          throws axException
Throws:
axException

getSeparators

public axMapSeparators getSeparators()
Get separators from axMapRoot. May return null if not a axMapMessage.


getMap

public axMap getMap()
Return map.


getSegmentCount

public int getSegmentCount()
Return segment count.


getMapRoot

public axMapRoot getMapRoot()
Return map root item.


getMetaData

public axMapMetaData getMetaData()
Get extra meta data for the parser.


endTag

public abstract void endTag(java.lang.Object tag)
                     throws axException
Throws:
axException

text

public abstract void text(java.lang.String str)
                   throws axException
Throws:
axException

isStopped

public abstract boolean isStopped()

isMatch

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