Class ListItemImpl

All Implemented Interfaces:
ContentNode, ListItem, StructuralNode

public class ListItemImpl extends StructuralNodeImpl implements ListItem
  • Constructor Details

    • ListItemImpl

      public ListItemImpl(org.jruby.runtime.builtin.IRubyObject listDelegate)
  • Method Details

    • getMarker

      public String getMarker()
      Specified by:
      getMarker in interface ListItem
    • getText

      public String getText()
      Specified by:
      getText in interface ListItem
      Returns:
      The text of the cell including substitutions being applied.
    • getSource

      public String getSource()
      Specified by:
      getSource in interface ListItem
      Returns:
      The text of the cell without substitutions being applied.
    • setSource

      public void setSource(String source)
      Description copied from interface: ListItem
      Sets the source of the ListItem.
      Specified by:
      setSource in interface ListItem
      Parameters:
      source - The source of this ListItem, substitutions will still be applied.
    • hasText

      public boolean hasText()
      Specified by:
      hasText in interface ListItem