jPOS 1.6.7 API Documentation

org.jpos.iso.validator
Class VErrorParser

java.lang.Object
  extended by org.jpos.iso.validator.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

Version:
1.0
Author:
Jose Eduardo Leon

Constructor Summary
VErrorParser()
           
 
Method Summary
 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VErrorParser

public VErrorParser()
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.

parseXMLErrorList

public java.lang.String parseXMLErrorList()

setLogger

public void setLogger(Logger logger,
                      java.lang.String realm)
Specified by:
setLogger in interface LogSource

getRealm

public java.lang.String getRealm()
Specified by:
getRealm in interface LogSource

getLogger

public Logger getLogger()
Specified by:
getLogger in interface LogSource

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.


jPOS.org