Class SACParserFactory

java.lang.Object
io.sf.carte.doc.style.css.SACParserFactory

public class SACParserFactory extends Object
SAC Parser Factory used by static methods.

  • Field Details

  • Constructor Details

    • SACParserFactory

      public SACParserFactory()
  • Method Details

    • createSACParser

      public static Parser createSACParser() throws DOMException
      Create a SAC Parser specified by the system property org.w3c.css.sac.parser.

      By default, uses this library's SAC Parser.

      Returns:
      the SAC parser.
      Throws:
      DOMException - INVALID_ACCESS_ERR if the Parser could not be instantiated.