org.springframework.beandoc.output
Class CsvDecorator

java.lang.Object
  extended by org.springframework.beandoc.output.SimpleDecorator
      extended by org.springframework.beandoc.output.CsvDecorator
All Implemented Interfaces:
Decorator

public class CsvDecorator
extends SimpleDecorator

From the example in the Reference Docs.

This class is instructive only and is not designed for normal use

See the relevent section of the reference documentation for more information.

Since:
1.0
Author:
Darren Davison

Field Summary
 
Fields inherited from class org.springframework.beandoc.output.SimpleDecorator
logger
 
Constructor Summary
CsvDecorator()
          specify only 'bean' elements as a Filter - we're not interested in decorating anything else
 
Method Summary
protected  void decorateElement(org.jdom.Element element)
          Each Element in each input Document is iteratively passed to this method allowing subclasses to add or amend any attributes they desire.
 
Methods inherited from class org.springframework.beandoc.output.SimpleDecorator
decorate, setFilter, setFilterNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvDecorator

public CsvDecorator()
specify only 'bean' elements as a Filter - we're not interested in decorating anything else

Method Detail

decorateElement

protected void decorateElement(org.jdom.Element element)
Description copied from class: SimpleDecorator
Each Element in each input Document is iteratively passed to this method allowing subclasses to add or amend any attributes they desire. It's possible to filter the view of the DOM, and thereby the list of Elements that will be passed to this method by setting a Filter on this instance.

Specified by:
decorateElement in class SimpleDecorator
See Also:
SimpleDecorator.decorateElement(org.jdom.Element)


Copyright © 2004-2008 Spring BeanDoc. All Rights Reserved.