com.lowagie.text

Interface MarkupAttributes

All Superinterfaces:
Element
Known Implementing Classes:
AbstractRtfField, Anchor, Annotation, Cell, Chunk, GenericRtfField, GreekList, Header, HeaderFooter, Image, ImgCCITT, ImgPostscript, ImgRaw, ImgTemplate, ImgWMF, Jpeg, List, ListItem, Meta, Paragraph, PdfCell, PdfPCell, PdfTable, Phrase, Rectangle, RomanList, Row, RtfAddableElement, RtfAnchor, RtfCell, RtfDirectContent, RtfField, RtfHeaderFooter, RtfHeaderFooter, RtfHeaderFooterGroup, RtfHeaderFooters, RtfPageNumber, RtfPageNumber, RtfShape, RtfShapePosition, RtfShapeProperty, RtfTab, RtfTabGroup, RtfTableCell, RtfTableOfContents, RtfTotalPageNumber, RtfTOC, RtfTOCEntry, RtfTOCEntry, SimpleCell, SimpleTable, Table, Watermark, ZapfDingbatsList, ZapfDingbatsNumberList

public interface MarkupAttributes
extends Element

Defines the interface for an Element with markup attributes-- that is, random String-to-String properties for representation in markup languages such as HTML and XML.
Author:
Matt Benson (orangeherbert@users.sourceforge.net or gudnabrsam@yahoo.com)

Fields inherited from interface com.lowagie.text.Element

ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITTG3_1D, CCITTG3_2D, CCITTG4, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, GRAPHIC, HEADER, IMGRAW, IMGTEMPLATE, JPEG, KEYWORDS, LIST, LISTITEM, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE

Method Summary

String
getMarkupAttribute(String name)
Returns the value of the specified attribute.
Set
getMarkupAttributeNames()
Returns a Set of String attribute names for the MarkupAttributes implementor.
Properties
getMarkupAttributes()
Return a Properties-object containing all the markupAttributes.
void
setMarkupAttribute(String name, String value)
Sets the specified attribute.
void
setMarkupAttributes(Properties markupAttributes)
Sets the markupAttributes.

Methods inherited from interface com.lowagie.text.Element

getChunks, process, toString, type

Method Details

getMarkupAttribute

public String getMarkupAttribute(String name)
Returns the value of the specified attribute.
Parameters:
name - String attribute name.
Returns:
String.

getMarkupAttributeNames

public Set getMarkupAttributeNames()
Returns a Set of String attribute names for the MarkupAttributes implementor.
Returns:
Set.

getMarkupAttributes

public Properties getMarkupAttributes()
Return a Properties-object containing all the markupAttributes.
Returns:
Properties

setMarkupAttribute

public void setMarkupAttribute(String name,
                               String value)
Sets the specified attribute.
Parameters:
name - String attribute name.
value - String attribute value.

setMarkupAttributes

public void setMarkupAttributes(Properties markupAttributes)
Sets the markupAttributes.
Parameters:
markupAttributes - a Properties-object containing markupattributes