|
|
@ -15,16 +15,14 @@ |
|
|
|
|
|
|
|
|
|
|
|
package com.fr.third.steadystate.css.parser; |
|
|
|
package com.fr.third.steadystate.css.parser; |
|
|
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
import com.fr.third.steadystate.css.parser.selectors.ConditionFactoryImpl; |
|
|
|
import java.io.InputStreamReader; |
|
|
|
import com.fr.third.steadystate.css.parser.selectors.SelectorFactoryImpl; |
|
|
|
import java.net.URL; |
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryAdapter; |
|
|
|
import java.nio.charset.Charset; |
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryExt; |
|
|
|
import java.text.MessageFormat; |
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerAdapter; |
|
|
|
import java.util.Locale; |
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerExt; |
|
|
|
import java.util.MissingResourceException; |
|
|
|
|
|
|
|
import java.util.ResourceBundle; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.third.steadystate.css.sac.SelectorFactoryAdapter; |
|
|
|
import com.fr.third.steadystate.css.sac.SelectorFactoryAdapter; |
|
|
|
|
|
|
|
import com.fr.third.steadystate.css.sac.SelectorFactoryExt; |
|
|
|
import org.w3c.css.sac.CSSParseException; |
|
|
|
import org.w3c.css.sac.CSSParseException; |
|
|
|
import org.w3c.css.sac.ConditionFactory; |
|
|
|
import org.w3c.css.sac.ConditionFactory; |
|
|
|
import org.w3c.css.sac.DocumentHandler; |
|
|
|
import org.w3c.css.sac.DocumentHandler; |
|
|
@ -39,13 +37,14 @@ import org.w3c.css.sac.SelectorFactory; |
|
|
|
import org.w3c.css.sac.SelectorList; |
|
|
|
import org.w3c.css.sac.SelectorList; |
|
|
|
import org.w3c.dom.DOMException; |
|
|
|
import org.w3c.dom.DOMException; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.third.steadystate.css.parser.selectors.ConditionFactoryImpl; |
|
|
|
import java.io.IOException; |
|
|
|
import com.fr.third.steadystate.css.parser.selectors.SelectorFactoryImpl; |
|
|
|
import java.io.InputStreamReader; |
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryAdapter; |
|
|
|
import java.net.URL; |
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryExt; |
|
|
|
import java.nio.charset.Charset; |
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerAdapter; |
|
|
|
import java.text.MessageFormat; |
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerExt; |
|
|
|
import java.util.Locale; |
|
|
|
import com.fr.third.steadystate.css.sac.SelectorFactoryExt; |
|
|
|
import java.util.MissingResourceException; |
|
|
|
|
|
|
|
import java.util.ResourceBundle; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Base implementation of {@link Parser}. |
|
|
|
* Base implementation of {@link Parser}. |
|
|
@ -155,7 +154,7 @@ abstract class AbstractSACParser implements SACParser { |
|
|
|
if (sacParserMessages_ == null) { |
|
|
|
if (sacParserMessages_ == null) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
sacParserMessages_ = ResourceBundle.getBundle( |
|
|
|
sacParserMessages_ = ResourceBundle.getBundle( |
|
|
|
"com.steadystate.css.parser.SACParserMessages", |
|
|
|
"com.fr.third.steadystate.css.parser.SACParserMessages", |
|
|
|
getLocale()); |
|
|
|
getLocale()); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (final MissingResourceException e) { |
|
|
|
catch (final MissingResourceException e) { |
|
|
|