コード例 #1
0
 /* (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);
     }
 }
コード例 #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);
     }
 }