Class RTFGroupState

java.lang.Object
org.apache.tika.parser.microsoft.rtf.jflex.RTFGroupState

public class RTFGroupState extends Object
State associated with a single RTF group (\{ ... \}).

When a new group opens, the current state is pushed onto the stack and a child state is created that inherits the parent's properties. When the group closes, the state is popped.

  • Constructor Details

    • RTFGroupState

      public RTFGroupState()
      Create a root group state with defaults.
    • RTFGroupState

      public RTFGroupState(RTFGroupState parent)
      Create a child group state inheriting from the parent.