public interface MarkupAttributes extends Element
Element
with markup attributes--
that is, random String-to-String properties for representation in markup
languages such as HTML and XML.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
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMarkupAttribute(java.lang.String name)
Returns the value of the specified attribute.
|
java.util.Set |
getMarkupAttributeNames()
Returns a
Set of String attribute names for the
MarkupAttributes implementor. |
java.util.Properties |
getMarkupAttributes()
Return a
Properties -object containing all the markupAttributes. |
void |
setMarkupAttribute(java.lang.String name,
java.lang.String value)
Sets the specified attribute.
|
void |
setMarkupAttributes(java.util.Properties markupAttributes)
Sets the markupAttributes.
|
void setMarkupAttribute(java.lang.String name, java.lang.String value)
name
- String
attribute name.value
- String
attribute value.void setMarkupAttributes(java.util.Properties markupAttributes)
markupAttributes
- a Properties
-object containing markupattributesjava.lang.String getMarkupAttribute(java.lang.String name)
name
- String
attribute name.String
.java.util.Set getMarkupAttributeNames()
Set
of String
attribute names for the
MarkupAttributes
implementor.Set
.java.util.Properties getMarkupAttributes()
Properties
-object containing all the markupAttributes.Properties