Class VErrorParser

  • All Implemented Interfaces:
    Loggeable, LogSource

    public class VErrorParser
    extends java.lang.Object
    implements LogSource, Loggeable
    Parse ISOComponents and put the errors into a list.

    Title: jPOS

    Description: Java Framework for Financial Systems

    Copyright: Copyright (c) 2000 jPOS.org. All rights reserved.

    Company: www.jPOS.org

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Logger logger  
      protected java.lang.String realm  
    • Constructor Summary

      Constructors 
      Constructor Description
      VErrorParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(java.io.PrintStream p, java.lang.String indent)
      Parse error list, and get an dump the xml string representing the list.
      Logger getLogger()  
      java.lang.String getRealm()  
      java.util.Vector getVErrors​(ISOComponent c)
      Parse an ISOComponent and get an error vector.
      java.lang.String parseXMLErrorList()  
      void resetErrors()
      Free errors memory.
      void setLogger​(Logger logger, java.lang.String realm)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getVErrors

        public java.util.Vector getVErrors​(ISOComponent c)
        Parse an ISOComponent and get an error vector.
        Parameters:
        c - Component to parse.
        Returns:
        error vector.
      • dump

        public void dump​(java.io.PrintStream p,
                         java.lang.String indent)
        Parse error list, and get an dump the xml string representing the list.
         Ex:
         
           
             
           
           
             
               
                 
               
             
           
           
         
         
        Specified by:
        dump in interface Loggeable
        Parameters:
        p - output stream
        indent - indent character
      • resetErrors

        public void resetErrors()
        Free errors memory.