org.ujac.print
Interface DocumentTagInterceptor

All Known Implementing Classes:
DocumentTagInterceptorSupport, TestTagInterceptor, TraceTagInterceptor

public interface DocumentTagInterceptor

Name: DocumentTagInterceptor
Description: Interface for tag interceptor classes.

Author:
lauerc

Method Summary
 void afterClose(BaseDocumentTag tag)
          Action to do after the close tag method is called.
 void afterOpen(BaseDocumentTag tag)
          Action to do before the open tag method is called.
 boolean beforeClose(BaseDocumentTag tag)
          Action to do after the close tag method is called.
 boolean beforeOpen(BaseDocumentTag tag)
          Action to do before the open tag method is called.
 

Method Detail

beforeOpen

boolean beforeOpen(BaseDocumentTag tag)
                   throws DocumentHandlerException
Action to do before the open tag method is called.

Parameters:
tag - The tag which is been processed.
Returns:
return true to actually call the openItem method of the tag.
Throws:
DocumentHandlerException - In case something happened which needs to abort the document processing.

afterOpen

void afterOpen(BaseDocumentTag tag)
               throws DocumentHandlerException
Action to do before the open tag method is called.

Parameters:
tag - The tag which is been processed. s * @throws DocumentHandlerException In case something happened which needs to abort the document processing.
Throws:
DocumentHandlerException

beforeClose

boolean beforeClose(BaseDocumentTag tag)
                    throws DocumentHandlerException
Action to do after the close tag method is called.

Parameters:
tag - The tag which is been processed.
Returns:
return true to actually call the openItem method of the tag.
Throws:
DocumentHandlerException - In case something happened which needs to abort the document processing.

afterClose

void afterClose(BaseDocumentTag tag)
                throws DocumentHandlerException
Action to do after the close tag method is called.

Parameters:
tag - The tag which is been processed.
Throws:
DocumentHandlerException - In case something happened which needs to abort the document processing.


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