Codota Logo
Parser.parseImportRule
Code IndexAdd Codota to your IDE (free)

How to use
parseImportRule
method
in
org.apache.batik.css.parser.Parser

Best Java code snippets using org.apache.batik.css.parser.Parser.parseImportRule (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.apache.xmlgraphics/batik-css

/**
 * Parses a rule.
 */
protected void parseRule() {
  switch (scanner.getType()) {
  case LexicalUnits.IMPORT_SYMBOL:
    nextIgnoreSpaces();
    parseImportRule();
    break;
  case LexicalUnits.AT_KEYWORD:
    nextIgnoreSpaces();
    parseAtRule();
    break;
  case LexicalUnits.FONT_FACE_SYMBOL:
    nextIgnoreSpaces();
    parseFontFaceRule();
    break;
  case LexicalUnits.MEDIA_SYMBOL:
    nextIgnoreSpaces();
    parseMediaRule();
    break;
  case LexicalUnits.PAGE_SYMBOL:
    nextIgnoreSpaces();
    parsePageRule();
    break;
  default:
    parseRuleSet();
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Parses a rule.
 */
protected void parseRule() {
  switch (scanner.getType()) {
  case LexicalUnits.IMPORT_SYMBOL:
    nextIgnoreSpaces();
    parseImportRule();
    break;
  case LexicalUnits.AT_KEYWORD:
    nextIgnoreSpaces();
    parseAtRule();
    break;
  case LexicalUnits.FONT_FACE_SYMBOL:
    nextIgnoreSpaces();
    parseFontFaceRule();
    break;
  case LexicalUnits.MEDIA_SYMBOL:
    nextIgnoreSpaces();
    parseMediaRule();
    break;
  case LexicalUnits.PAGE_SYMBOL:
    nextIgnoreSpaces();
    parsePageRule();
    break;
  default:
    parseRuleSet();
  }
}
origin: apache/batik

/**
 * Parses a rule.
 */
protected void parseRule() {
  switch (scanner.getType()) {
  case LexicalUnits.IMPORT_SYMBOL:
    nextIgnoreSpaces();
    parseImportRule();
    break;
  case LexicalUnits.AT_KEYWORD:
    nextIgnoreSpaces();
    parseAtRule();
    break;
  case LexicalUnits.FONT_FACE_SYMBOL:
    nextIgnoreSpaces();
    parseFontFaceRule();
    break;
  case LexicalUnits.MEDIA_SYMBOL:
    nextIgnoreSpaces();
    parseMediaRule();
    break;
  case LexicalUnits.PAGE_SYMBOL:
    nextIgnoreSpaces();
    parsePageRule();
    break;
  default:
    parseRuleSet();
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

if (current == LexicalUnits.IMPORT_SYMBOL) {
  nextIgnoreSpaces();
  parseImportRule();
  nextIgnoreSpaces();
} else {
origin: org.apache.xmlgraphics/batik-css

if (current == LexicalUnits.IMPORT_SYMBOL) {
  nextIgnoreSpaces();
  parseImportRule();
  nextIgnoreSpaces();
} else {
origin: apache/batik

if (current == LexicalUnits.IMPORT_SYMBOL) {
  nextIgnoreSpaces();
  parseImportRule();
  nextIgnoreSpaces();
} else {
org.apache.batik.css.parserParserparseImportRule

Javadoc

Parses an import rule. Assumes the current token is '@import'.

Popular methods of Parser

  • parseStyleDeclaration
    Parses the given reader.
  • parseStyleSheet
    SAC: Implements org.w3c.css.sac.Parser#parseStyleSheet(InputSource).
  • createCSSParseException
    Creates a parse exception.
  • createScanner
    Creates a scanner, given an InputSource.
  • dimension
    Converts the current lexical unit to a dimension.
  • formatMessage
    Implements org.apache.batik.i18n.Localizable#formatMessage(String,Object[]).
  • hexcolor
    Converts a hash unit to a RGB color.
  • isPseudoElement
    Tells whether or not the given string represents a pseudo-element.
  • next
    Advances to the next token, ignoring comments.
  • nextIgnoreSpaces
    Advances to the next token and skip the spaces, ignoring comments.
  • number
    Converts the current lexical unit to a float.
  • parseAtRule
    Parses an unknown rule.
  • number,
  • parseAtRule,
  • parseExpression,
  • parseFontFaceRule,
  • parseFunction,
  • parseMediaList,
  • parseMediaRule,
  • parsePageRule,
  • parsePriorityInternal

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getExternalFilesDir (Context)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now