Class CssParserStateController
java.lang.Object
com.itextpdf.styledxmlparser.css.parse.syntax.CssParserStateController
State machine that will parse content into a style sheet.
-
Constructor Summary
ConstructorDescriptionCreates a newCssParserStateController
instance.CssParserStateController
(String baseUrl) Creates a newCssParserStateController
instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the resulting style sheet.void
process
(char ch) Process a character using the current state.
-
Constructor Details
-
CssParserStateController
public CssParserStateController()Creates a newCssParserStateController
instance. -
CssParserStateController
Creates a newCssParserStateController
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
Gets the resulting style sheet.- Returns:
- the resulting style sheet
-