Tabnine Logo
Parser.parseFontFaceRule
Code IndexAdd Tabnine to your IDE (free)

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

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

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

case LexicalUnits.FONT_FACE_SYMBOL:
  nextIgnoreSpaces();
  parseFontFaceRule();
  break;
case LexicalUnits.AT_KEYWORD:
origin: org.apache.xmlgraphics/batik-css

case LexicalUnits.FONT_FACE_SYMBOL:
  nextIgnoreSpaces();
  parseFontFaceRule();
  break;
case LexicalUnits.AT_KEYWORD:
origin: apache/batik

case LexicalUnits.FONT_FACE_SYMBOL:
  nextIgnoreSpaces();
  parseFontFaceRule();
  break;
case LexicalUnits.AT_KEYWORD:
org.apache.batik.css.parserParserparseFontFaceRule

Javadoc

Parses a font-face rule.

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,
  • parseFunction,
  • parseImportRule,
  • parseMediaList,
  • parseMediaRule,
  • parsePageRule,
  • parsePriorityInternal

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now