org.apache.fop.render.afp.extensions
Class AFPElementMapping

java.lang.Object
  extended byorg.apache.fop.fo.StandardElementMapping
      extended byorg.apache.fop.render.afp.extensions.AFPElementMapping
All Implemented Interfaces:
org.apache.fop.fo.ElementMapping

public class AFPElementMapping
extends org.apache.fop.fo.StandardElementMapping

AFPElementMapping object provides the ability to extract information from the formatted object that reside in the afp namespace. This is used for custom AFP extensions not supported by the FO schema. Examples include adding overlays or indexing a document using the tag logical element structured field.


Field Summary
static java.lang.String INCLUDE_PAGE_OVERLAY
           
static java.lang.String INCLUDE_PAGE_SEGMENT
           
static java.lang.String PAGE
           
static java.lang.String PAGE_GROUP
           
static java.lang.String TAG_LOGICAL_ELEMENT
           
static java.lang.String URI
          The namespace used for AFP extensions
 
Constructor Summary
AFPElementMapping()
           
 
Method Summary
 void addToBuilder(org.apache.fop.fo.TreeBuilder builder)
          Override the addToBuilder method so that the builder is setup with the emelemt mappings and the property list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE

public static final java.lang.String PAGE
See Also:
Constant Field Values

PAGE_GROUP

public static final java.lang.String PAGE_GROUP
See Also:
Constant Field Values

TAG_LOGICAL_ELEMENT

public static final java.lang.String TAG_LOGICAL_ELEMENT
See Also:
Constant Field Values

INCLUDE_PAGE_OVERLAY

public static final java.lang.String INCLUDE_PAGE_OVERLAY
See Also:
Constant Field Values

INCLUDE_PAGE_SEGMENT

public static final java.lang.String INCLUDE_PAGE_SEGMENT
See Also:
Constant Field Values

URI

public static final java.lang.String URI
The namespace used for AFP extensions

See Also:
Constant Field Values
Constructor Detail

AFPElementMapping

public AFPElementMapping()
Method Detail

addToBuilder

public void addToBuilder(org.apache.fop.fo.TreeBuilder builder)
Override the addToBuilder method so that the builder is setup with the emelemt mappings and the property list.

Parameters:
builder - The builder to which the mappings are added