Interface MarkupAttributes
-
- All Superinterfaces:
Element
- All Known Implementing Classes:
Anchor,Annotation,Chunk,Header,List,ListItem,Meta,Paragraph,Phrase,Rectangle
public interface MarkupAttributes extends Element
Defines the interface for anElementwith markup attributes-- that is, random String-to-String properties for representation in markup languages such as HTML and XML.
-
-
Field Summary
-
Fields inherited from interface com.gitlab.pdftk_java.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, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetMarkupAttribute(java.lang.String name)Returns the value of the specified attribute.java.util.SetgetMarkupAttributeNames()Returns aSetofStringattribute names for theMarkupAttributesimplementor.java.util.PropertiesgetMarkupAttributes()Return aProperties-object containing all the markupAttributes.voidsetMarkupAttribute(java.lang.String name, java.lang.String value)Sets the specified attribute.voidsetMarkupAttributes(java.util.Properties markupAttributes)Sets the markupAttributes.
-
-
-
Method Detail
-
setMarkupAttribute
void setMarkupAttribute(java.lang.String name, java.lang.String value)Sets the specified attribute.- Parameters:
name-Stringattribute name.value-Stringattribute value.
-
setMarkupAttributes
void setMarkupAttributes(java.util.Properties markupAttributes)
Sets the markupAttributes.- Parameters:
markupAttributes- aProperties-object containing markupattributes
-
getMarkupAttribute
java.lang.String getMarkupAttribute(java.lang.String name)
Returns the value of the specified attribute.- Parameters:
name-Stringattribute name.- Returns:
String.
-
getMarkupAttributeNames
java.util.Set getMarkupAttributeNames()
Returns aSetofStringattribute names for theMarkupAttributesimplementor.- Returns:
Set.
-
getMarkupAttributes
java.util.Properties getMarkupAttributes()
Return aProperties-object containing all the markupAttributes.- Returns:
Properties
-
-