com.itextpdf.tool.xml.css.parser
Class CssStateController

java.lang.Object
  extended by com.itextpdf.tool.xml.css.parser.CssStateController

public class CssStateController
extends Object

State controller for CSS Processing

Author:
redlab_b

Constructor Summary
CssStateController(CssFile file)
           
 
Method Summary
 void append(char c)
          Appends a character to the buffer.
 void previous()
          Sets the state to the previous state
 void process(char c)
          Processes the character, delegates to states.
 void stateCommentEnd()
           
 void stateCommentInside()
           
 void stateCommentStart()
           
 void stateProperties()
           
 void stateRule()
           
 void stateUnknown()
           
 void storeProperties()
           
 void storeSelector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CssStateController

public CssStateController(CssFile file)
Parameters:
file - the CssFile
Method Detail

append

public void append(char c)
Appends a character to the buffer.

Parameters:
c - the char to append to the buffer.

previous

public void previous()
Sets the state to the previous state


process

public void process(char c)
Processes the character, delegates to states.

Parameters:
c - a character that needs to be processed

stateCommentEnd

public void stateCommentEnd()

stateCommentInside

public void stateCommentInside()

stateCommentStart

public void stateCommentStart()

stateProperties

public void stateProperties()

stateUnknown

public void stateUnknown()

stateRule

public void stateRule()

storeSelector

public void storeSelector()

storeProperties

public void storeProperties()


Copyright © 2015. All Rights Reserved.