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 an Element with markup attributes-- that is, random String-to-String properties for representation in markup languages such as HTML and XML.
  • Method Details

    • setMarkupAttribute

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

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

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

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

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