org.apache.fop.render.ps

Class PSTextElementBridge


public class PSTextElementBridge
extends SVGTextElementBridge

Bridge class for the <text> element. This bridge will use the direct text painter if the text for the element is simple.
Version:
$Id: PSTextElementBridge.java 426576 2006-07-28 15:44:37Z jeremias $
Author:
Apache XML FOP Development Team

Constructor Summary

PSTextElementBridge(PSTextPainter textPainter)
Constructs a new bridge for the <text> element.

Method Summary

GraphicsNode
createGraphicsNode(BridgeContext ctx, Element e)
Create a text element bridge.

Constructor Details

PSTextElementBridge

public PSTextElementBridge(PSTextPainter textPainter)
Constructs a new bridge for the <text> element.
Parameters:
textPainter - the text painter to use

Method Details

createGraphicsNode

public GraphicsNode createGraphicsNode(BridgeContext ctx,
                                       Element e)
Create a text element bridge. This set the text painter on the node if the text is simple.
Parameters:
ctx - the bridge context
e - the svg element
Returns:
the text graphics node created by the super class

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