| java.lang.Object com.lowagie.text.MarkedObject
All known Subclasses: com.lowagie.text.MarkedSection,
MarkedObject | public class MarkedObject implements Element(Code) | | Wrapper that allows to add properties to 'basic building block' objects.
Before iText 1.5 every 'basic building block' implemented the MarkupAttributes interface.
By setting attributes, you could add markup to the corresponding XML and/or HTML tag.
This functionality was hardly used by anyone, so it was removed, and replaced by
the MarkedObject functionality.
|
element | protected Element element(Code) | | The element that is wrapped in a MarkedObject.
|
markupAttributes | protected Properties markupAttributes(Code) | | Contains extra markupAttributes
|
MarkedObject | protected MarkedObject()(Code) | | This constructor is for internal use only.
|
MarkedObject | public MarkedObject(Element element)(Code) | | Creates a MarkedObject.
|
getChunks | public ArrayList getChunks()(Code) | | Gets all the chunks in this element.
an ArrayList |
getMarkupAttributes | public Properties getMarkupAttributes()(Code) | | Getter for the markup attributes.
the markupAttributes |
process | public boolean process(ElementListener listener)(Code) | | Processes the element by adding it (or the different parts) to an
ElementListener .
Parameters: listener - an ElementListener true if the element was processed successfully |
setMarkupAttribute | public void setMarkupAttribute(String key, String value)(Code) | | Adds one markup attribute.
|
type | public int type()(Code) | | Gets the type of the text element.
a type |
|
|