/* (non-Javadoc)
  * @see com.itextpdf.tool.xml.css.parser.State#process(char)
  */
 virtual public void Process(char c)
 {
     if ('}' == c)
     {
         controller.StoreProperties();
         controller.StateUnknown();
     }
     else if ('/' == c)
     {
         controller.StateCommentStart();
     }
     else
     {
         controller.Append(c);
     }
 }
Exemple #2
0
 /* (non-Javadoc)
  * @see com.itextpdf.tool.xml.css.parser.State#process(char)
  */
 virtual public void Process(char c)
 {
     if ('/' == c)
     {
         controller.StateCommentStart();
     }
     else if ('{' == c)
     {
         controller.StoreSelector();
         controller.StateProperties();
     }
     else if ('@' == c)
     {
         controller.StateRule();
     }
     else
     {
         controller.Append(c);
     }
 }