Jacson

de.spieleck.app.jacson.report
Class ValuePrintingReport

java.lang.Object
  extended byde.spieleck.app.jacson.report.PrintingReport
      extended byde.spieleck.app.jacson.report.ValuePrintingReport
All Implemented Interfaces:
ConfigVerify.Acceptor, JacsonPrintReport, JacsonReport, JacsonStately
Direct Known Subclasses:
MailReport

public class ValuePrintingReport
extends PrintingReport

This report only prints values of the structured data. It does not print the structured adresses. Additionall you can specify a path, what to print. This is most heavily used in jobs which modify a file and do not need all the surrounding structure.

Author:
fsn

Field Summary
protected  boolean debug
           
static java.lang.String DEBUG_NODE
           
protected  java.lang.String[] secs
           
static java.lang.String SECTION_NODE
           
 
Fields inherited from class de.spieleck.app.jacson.report.PrintingReport
begins, FILENAME_NODE, pw
 
Constructor Summary
ValuePrintingReport()
           
 
Method Summary
 boolean accept(ConfigNode node)
           
 void init(ConfigNode config)
          Initialize the report.
 void report(java.lang.String localName, java.lang.String value)
          Report a single name value pair within a report
 boolean sectionMatch(java.lang.String localName)
           
 
Methods inherited from class de.spieleck.app.jacson.report.PrintingReport
begin, end, finish, finish, getPrintWriter, getRegState, registerState, setOutputStream, setPrintWriter, useFilename, useFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_NODE

public static final java.lang.String DEBUG_NODE
See Also:
Constant Field Values

SECTION_NODE

public static final java.lang.String SECTION_NODE
See Also:
Constant Field Values

secs

protected java.lang.String[] secs

debug

protected boolean debug
Constructor Detail

ValuePrintingReport

public ValuePrintingReport()
Method Detail

init

public void init(ConfigNode config)
          throws JacsonConfigException
Description copied from interface: JacsonReport
Initialize the report. The passed ConfigNode can be used to obtain configuration information of the report from the global config xml.

Specified by:
init in interface JacsonReport
Overrides:
init in class PrintingReport
Throws:
JacsonConfigException

accept

public boolean accept(ConfigNode node)
Specified by:
accept in interface ConfigVerify.Acceptor
Overrides:
accept in class PrintingReport

report

public void report(java.lang.String localName,
                   java.lang.String value)
Description copied from interface: JacsonReport
Report a single name value pair within a report

Specified by:
report in interface JacsonReport
Overrides:
report in class PrintingReport

sectionMatch

public boolean sectionMatch(java.lang.String localName)

Spieleck

Copyleft 2002 spieleck.de.