org.ujac.print
Interface ContentFilter

All Known Implementing Classes:
DefaultContentFilter

public interface ContentFilter

Name: ContentFilter
Description: Defines an interface for content filters.

Author:
lauerc

Method Summary
 void filterContents(BaseDocumentTag tag, String contents, int offset, StringBuffer outputBuffer)
          Filters the given contents
 

Method Detail

filterContents

void filterContents(BaseDocumentTag tag,
                    String contents,
                    int offset,
                    StringBuffer outputBuffer)
                    throws DocumentHandlerException
Filters the given contents

Parameters:
tag - The tag for which to filter the contents.
contents - The contents to filter.
offset - The offset where to start filtering the content string.
outputBuffer - The buffer holding the content processing result.
Throws:
DocumentHandlerException - In case the content filtering failed.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.