/** * Parses selectors using the current scanner. */ protected SelectorList parseSelectorsInternal() throws CSSException, IOException { nextIgnoreSpaces(); SelectorList ret = parseSelectorList(); scanner.close(); scanner = null; return ret; }
/** * Parses a rule using the current scanner. */ protected void parseRuleInternal() throws CSSException, IOException { nextIgnoreSpaces(); parseRule(); scanner.close(); scanner = null; }
/** * Implements {@link ExtendedParser#parseSelectors(String)}. */ public SelectorList parseSelectors(String source) throws CSSException, IOException { scanner = new Scanner(source); return parseSelectorsInternal(); }
/** * Implements {@link ExtendedParser#parsePriority(String)}. */ public boolean parsePriority(String source) throws CSSException, IOException { scanner = new Scanner(source); return parsePriorityInternal(); }
/** * Implements {@link ExtendedParser#parseStyleDeclaration(String)}. */ public void parseStyleDeclaration(String source) throws CSSException, IOException { scanner = new Scanner(source); parseStyleDeclarationInternal(); }
/** * Implements {@link ExtendedParser#parsePropertyValue(String)}. */ public LexicalUnit parsePropertyValue(String source) throws CSSException, IOException { scanner = new Scanner(source); return parsePropertyValueInternal(); }
/** * Implements {@link ExtendedParser#parseRule(String)}. */ public void parseRule(String source) throws CSSException, IOException { scanner = new Scanner(source); parseRuleInternal(); }
/** * Parses a rule using the current scanner. */ protected void parseRuleInternal() throws CSSException, IOException { nextIgnoreSpaces(); parseRule(); scanner.close(); scanner = null; }
/** * Implements {@link ExtendedParser#parseSelectors(String)}. */ public SelectorList parseSelectors(String source) throws CSSException, IOException { scanner = new Scanner(source); return parseSelectorsInternal(); }
/** * Implements {@link ExtendedParser#parsePriority(String)}. */ public boolean parsePriority(String source) throws CSSException, IOException { scanner = new Scanner(source); return parsePriorityInternal(); }
/** * Parses selectors using the current scanner. */ protected SelectorList parseSelectorsInternal() throws CSSException, IOException { nextIgnoreSpaces(); SelectorList ret = parseSelectorList(); scanner.close(); scanner = null; return ret; }
/** * Implements {@link ExtendedParser#parseStyleDeclaration(String)}. */ public void parseStyleDeclaration(String source) throws CSSException, IOException { scanner = new Scanner(source); parseStyleDeclarationInternal(); }
/** * Implements {@link ExtendedParser#parsePropertyValue(String)}. */ public LexicalUnit parsePropertyValue(String source) throws CSSException, IOException { scanner = new Scanner(source); return parsePropertyValueInternal(); }
/** * Implements {@link ExtendedParser#parseRule(String)}. */ public void parseRule(String source) throws CSSException, IOException { scanner = new Scanner(source); parseRuleInternal(); }
/** * Parses a rule using the current scanner. */ protected void parseRuleInternal() throws CSSException, IOException { nextIgnoreSpaces(); parseRule(); scanner.close(); scanner = null; }
/** * Implements {@link ExtendedParser#parseSelectors(String)}. */ public SelectorList parseSelectors(String source) throws CSSException, IOException { scanner = new Scanner(source); return parseSelectorsInternal(); }
/** * Implements {@link ExtendedParser#parsePriority(String)}. */ public boolean parsePriority(String source) throws CSSException, IOException { scanner = new Scanner(source); return parsePriorityInternal(); }