public class RtfMapper extends Object
| Constructor and Description |
|---|
RtfMapper(RtfDocument doc)
Constructs a RtfMapper for a RtfDocument
|
| Modifier and Type | Method and Description |
|---|---|
RtfBasicElement[] |
mapElement(Element element)
Takes an Element subclass and returns an array of RtfBasicElement
subclasses, that contained the mapped RTF equivalent to the Element
passed in.
|
public RtfMapper(RtfDocument doc)
doc - The RtfDocument this RtfMapper belongs topublic RtfBasicElement[] mapElement(Element element) throws DocumentException
element - The Element to wrapDocumentExceptionCopyright © 2015. All rights reserved.