com.lowagie.text.rtf
public class RtfMapper extends Object
Version: $Version:$
Field Summary | |
---|---|
RtfDocument | rtfDoc
The RtfDocument this RtfMapper belongs to |
Constructor Summary | |
---|---|
RtfMapper(RtfDocument doc)
Constructs a RtfMapper for a RtfDocument
|
Method Summary | |
---|---|
RtfBasicElement | mapElement(Element element)
Takes an Element subclass and returns the correct RtfBasicElement
subclass, that wraps the Element subclass.
|
Parameters: doc The RtfDocument this RtfMapper belongs to
Parameters: element The Element to wrap
Returns: A RtfBasicElement wrapping the Element
Throws: DocumentException