org.apache.fop.area

Class OffDocumentExtensionAttachment

Implemented Interfaces:
OffDocumentItem

public class OffDocumentExtensionAttachment
extends java.lang.Object
implements OffDocumentItem

This class wraps ExtensionAttachments which cannot be transported inside the area tree but need to be handled in the AreaTreeHandler. These attachments are schedules for processing before the first page-sequence, i.e. at the start of the document.

Fields inherited from interface org.apache.fop.area.OffDocumentItem

AFTER_PAGE, END_OF_DOC, IMMEDIATELY

Constructor Summary

OffDocumentExtensionAttachment(ExtensionAttachment attachment)
Main constructor

Method Summary

ExtensionAttachment
getAttachment()
String
getName()
int
getWhenToProcess()

Constructor Details

OffDocumentExtensionAttachment

public OffDocumentExtensionAttachment(ExtensionAttachment attachment)
Main constructor
Parameters:
attachment - the extension attachment to wrap.

Method Details

getAttachment

public ExtensionAttachment getAttachment()
Returns:
the extension attachment.

getName

public String getName()
Specified by:
getName in interface OffDocumentItem

getWhenToProcess

public int getWhenToProcess()
Specified by:
getWhenToProcess in interface OffDocumentItem

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.