Class SACParserFactoryImpl
java.lang.Object
org.w3c.css.sac.helpers.ParserFactory
org.eclipse.e4.ui.css.core.sac.SACParserFactory
org.eclipse.e4.ui.css.core.impl.sac.SACParserFactoryImpl
- All Implemented Interfaces:
ISACParserFactory
SAC Parser factory implementation. By default, this SAC FActory support
Flute, SteadyState and Batik SAC Parser.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.css.sac.Parser
makeParser
(String name) Return instance of SAC Parser registered into the factory with namename
.static void
registerSACParser
(String parser) Register SAC parser name.static void
registerSACParser
(String name, String classNameParser) register SAC parser with namename
mapped with Class nameclassNameParser
.Methods inherited from class org.eclipse.e4.ui.css.core.sac.SACParserFactory
getPreferredParserName, makeParser, newInstance, setPreferredParserName
-
Constructor Details
-
SACParserFactoryImpl
public SACParserFactoryImpl()
-
-
Method Details
-
makeParser
public org.w3c.css.sac.Parser makeParser(String name) throws ClassNotFoundException, IllegalAccessException, InstantiationException, NullPointerException, ClassCastException Description copied from class:SACParserFactory
Return instance of SAC Parser registered into the factory with namename
.- Specified by:
makeParser
in interfaceISACParserFactory
- Specified by:
makeParser
in classSACParserFactory
- Throws:
ClassNotFoundException
IllegalAccessException
InstantiationException
NullPointerException
ClassCastException
-
registerSACParser
Register SAC parser name. -
registerSACParser
register SAC parser with namename
mapped with Class nameclassNameParser
.
-