org.apache.fop.render.afp.extensions

Class AFPElementMapping


public class AFPElementMapping
extends ElementMapping

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.

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.fop.fo.ElementMapping

ElementMapping.Maker

Field Summary

static String
INCLUDE_PAGE_OVERLAY
include page overlay element
static String
INCLUDE_PAGE_SEGMENT
include page segment element
static String
NAMESPACE
The namespace used for AFP extensions
static String
NAMESPACE_PREFIX
The usual namespace prefix used for AFP extensions
static String
NO_OPERATION
NOP
static String
PAGE
page element
static String
PAGE_GROUP
page group element
static String
TAG_LOGICAL_ELEMENT
tag logical element

Fields inherited from class org.apache.fop.fo.ElementMapping

DEFAULT, foObjs, namespaceURI

Constructor Summary

AFPElementMapping()
Main constructor

Method Summary

protected void
initialize()
Private static synchronized method to set up the element and atribute HashMaps, this defines what elements and attributes are extracted.

Methods inherited from class org.apache.fop.fo.ElementMapping

getDOMImplementation, getDefaultDOMImplementation, getNamespaceURI, getStandardPrefix, getTable, initialize, isAttributeProperty

Field Details

INCLUDE_PAGE_OVERLAY

public static final String INCLUDE_PAGE_OVERLAY
include page overlay element

INCLUDE_PAGE_SEGMENT

public static final String INCLUDE_PAGE_SEGMENT
include page segment element

NAMESPACE

public static final String NAMESPACE
The namespace used for AFP extensions

NAMESPACE_PREFIX

public static final String NAMESPACE_PREFIX
The usual namespace prefix used for AFP extensions

NO_OPERATION

public static final String NO_OPERATION
NOP

PAGE

public static final String PAGE
page element

PAGE_GROUP

public static final String PAGE_GROUP
page group element

TAG_LOGICAL_ELEMENT

public static final String TAG_LOGICAL_ELEMENT
tag logical element

Constructor Details

AFPElementMapping

public AFPElementMapping()
Main constructor

Method Details

initialize

protected void initialize()
Private static synchronized method to set up the element and atribute HashMaps, this defines what elements and attributes are extracted.
Overrides:
initialize in interface ElementMapping

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