Class CssParserStateController

java.lang.Object
com.itextpdf.styledxmlparser.css.parse.syntax.CssParserStateController

public final class CssParserStateController extends Object
State machine that will parse content into a style sheet.
  • Constructor Details

    • CssParserStateController

      public CssParserStateController()
      Creates a new CssParserStateController instance.
    • CssParserStateController

      public CssParserStateController (String baseUrl)
      Creates a new CssParserStateController instance.
      Parameters:
      baseUrl - the base URL
  • Method Details

    • process

      public void process (char ch)
      Process a character using the current state.
      Parameters:
      ch - the character
    • getParsingResult

      public CssStyleSheet getParsingResult()
      Gets the resulting style sheet.
      Returns:
      the resulting style sheet