org.springframework.beandoc.output
Interface Decorator
- All Known Implementing Classes:
- CsvDecorator, GraphVizDecorator, HtmlDecorator, JavaDocDecorator, SimpleDecorator
public interface Decorator
Decorator implementations have the opportunity to modify the DOM trees built by a
Processor instance. They can optionally add attributes (but not elements) to any
part of the DOM for subsequent use by one or more Transformer instances.
- Since:
- 1.0
- Author:
- Darren Davison
Method Summary |
void |
decorate(org.jdom.Document[] contextDocuments)
Decorators act incrementally, this method allows the implementor to further modify
any previously modified DOM trees by previous Decorator s. |
decorate
void decorate(org.jdom.Document[] contextDocuments)
- Decorators act incrementally, this method allows the implementor to further modify
any previously modified DOM trees by previous
Decorator
s. Note that any
attempt to add new nodes (Elements) to the DOM will result in a runtime error. Only
addition and modification of attributes is permitted.
- Parameters:
contextDocuments
- an array of Document objects representing the in-memory
tree of the input files supplied to the beandoc ContextProcessor
.
Copyright © 2004-2010 Spring BeanDoc. All Rights Reserved.