Interface StaticContent

All Known Implementing Classes:
EditorContent, LabelContent, StringContent, URIContent

@API(type=NOT_EXTENDABLE, src=PRIVATE) public interface StaticContent
Static content which should be generated for an element
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Content type for the CSS content() from the string-set property.
    static final int
    Counter content type.
    static final int
    Counters content type.
    static final int
    Content type for form controls..
    static final int
    Content type for a label.
    static final int
    Content type for the CSS leader().
    static final int
    The equivalent of a 'string' function, it is used to extract the value of a named string defined by a 'string-set' property.
    static final int
    Content type for the CSS target-counter().
    static final int
    Content type for the CSS target-counters().
    static final int
    Text content type
    static final int
    URI content type
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the content type.
  • Field Details

    • TEXT_CONTENT

      static final int TEXT_CONTENT
      Text content type
      See Also:
    • URI_CONTENT

      static final int URI_CONTENT
      URI content type
      See Also:
    • COUNTER_CONTENT

      static final int COUNTER_CONTENT
      Counter content type.
      See Also:
    • COUNTERS_CONTENT

      static final int COUNTERS_CONTENT
      Counters content type.
      See Also:
    • EDITOR_CONTENT

      static final int EDITOR_CONTENT
      Content type for form controls..
      See Also:
    • LABEL_CONTENT

      static final int LABEL_CONTENT
      Content type for a label. Allows styling.
      See Also:
    • LEADER_CONTENT

      static final int LEADER_CONTENT
      Content type for the CSS leader(). This is used only in the CSS to FO converter.
      See Also:
    • TARGET_COUNTER_CONTENT

      static final int TARGET_COUNTER_CONTENT
      Content type for the CSS target-counter(). This is used only in the CSS to FO converter.
      See Also:
    • TARGET_COUNTERS_CONTENT

      static final int TARGET_COUNTERS_CONTENT
      Content type for the CSS target-counters(). This is used only in the CSS to FO converter.
      See Also:
    • CONTENT_CONTENT

      static final int CONTENT_CONTENT
      Content type for the CSS content() from the string-set property. This is used only in the CSS to FO converter.
      See Also:
    • STRING_FUNCTION_CONTENT

      static final int STRING_FUNCTION_CONTENT
      The equivalent of a 'string' function, it is used to extract the value of a named string defined by a 'string-set' property. This is used only in the CSS to FO converter.
      See Also:
  • Method Details

    • getType

      int getType()
      Gets the content type.
      Returns:
      The content type.