congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ValueManager.createValue
Code IndexAdd Tabnine to your IDE (free)

How to use
createValue
method
in
org.apache.batik.css.engine.value.ValueManager

Best Java code snippets using org.apache.batik.css.engine.value.ValueManager.createValue (Showing top 20 results out of 315)

origin: fr.avianey.apache-xmlgraphics/batik

  public void property(String pname, LexicalUnit lu,
             boolean important) {
    int idx = getPropertyIndex(pname);
    if (idx != -1) {
      ValueManager vm = valueManagers[idx];
      Value v = vm.createValue(lu, CSSEngine.this);
      dst.setMainProperty(pname, v, important);
      return;
    }
    idx = getShorthandIndex(pname);
    if (idx == -1)
      return; // Unknown property...
    // Shorthand value
    shorthandManagers[idx].setValues
      (CSSEngine.this, this, lu, important);
  }
};
origin: org.apache.xmlgraphics/batik-css

  public void property(String pname, LexicalUnit lu,
             boolean important) {
    int idx = getPropertyIndex(pname);
    if (idx != -1) {
      ValueManager vm = valueManagers[idx];
      Value v = vm.createValue(lu, CSSEngine.this);
      dst.setMainProperty(pname, v, important);
      return;
    }
    idx = getShorthandIndex(pname);
    if (idx == -1)
      return; // Unknown property...
    // Shorthand value
    shorthandManagers[idx].setValues
      (CSSEngine.this, this, lu, important);
  }
};
origin: apache/batik

  public void property(String pname, LexicalUnit lu,
             boolean important) {
    int idx = getPropertyIndex(pname);
    if (idx != -1) {
      ValueManager vm = valueManagers[idx];
      Value v = vm.createValue(lu, CSSEngine.this);
      dst.setMainProperty(pname, v, important);
      return;
    }
    idx = getShorthandIndex(pname);
    if (idx == -1)
      return; // Unknown property...
    // Shorthand value
    shorthandManagers[idx].setValues
      (CSSEngine.this, this, lu, important);
  }
};
origin: fr.avianey.apache-xmlgraphics/batik

  public void property(String pname, LexicalUnit lu,
             boolean important) {
    int idx = getPropertyIndex(pname);
    if (idx != -1) {
      ValueManager vm = valueManagers[idx];
      Value v = vm.createValue(lu, CSSEngine.this);
      putAuthorProperty(result, idx, v, important,
               StyleMap.NON_CSS_ORIGIN);
      return;
    }
    idx = getShorthandIndex(pname);
    if (idx == -1)
      return; // Unknown property...
    // Shorthand value
    shorthandManagers[idx].setValues
      (CSSEngine.this, this, lu, important);
  }
};
origin: org.apache.xmlgraphics/batik-css

  public void property(String pname, LexicalUnit lu,
             boolean important) {
    int idx = getPropertyIndex(pname);
    if (idx != -1) {
      ValueManager vm = valueManagers[idx];
      Value v = vm.createValue(lu, CSSEngine.this);
      putAuthorProperty(result, idx, v, important,
               StyleMap.NON_CSS_ORIGIN);
      return;
    }
    idx = getShorthandIndex(pname);
    if (idx == -1)
      return; // Unknown property...
    // Shorthand value
    shorthandManagers[idx].setValues
      (CSSEngine.this, this, lu, important);
  }
};
origin: apache/batik

  public void property(String pname, LexicalUnit lu,
             boolean important) {
    int idx = getPropertyIndex(pname);
    if (idx != -1) {
      ValueManager vm = valueManagers[idx];
      Value v = vm.createValue(lu, CSSEngine.this);
      putAuthorProperty(result, idx, v, important,
               StyleMap.NON_CSS_ORIGIN);
      return;
    }
    idx = getShorthandIndex(pname);
    if (idx == -1)
      return; // Unknown property...
    // Shorthand value
    shorthandManagers[idx].setValues
      (CSSEngine.this, this, lu, important);
  }
};
origin: fr.avianey.apache-xmlgraphics/batik

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      styleDeclaration.append(v, i, important);
    }
  }
}
origin: org.apache.xmlgraphics/batik-css

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      putAuthorProperty(styleMap, i, v, important,
               StyleMap.INLINE_AUTHOR_ORIGIN);
    }
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      putAuthorProperty(styleMap, i, v, important,
               StyleMap.INLINE_AUTHOR_ORIGIN);
    }
  }
}
origin: apache/batik

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      styleDeclaration.append(v, i, important);
    }
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      styleDeclaration.append(v, i, important);
    }
  }
}
origin: apache/batik

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      styleDeclaration.append(v, i, important);
    }
  }
}
origin: org.apache.xmlgraphics/batik-css

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      styleDeclaration.append(v, i, important);
    }
  }
}
origin: org.apache.xmlgraphics/batik-css

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      styleDeclaration.append(v, i, important);
    }
  }
}
origin: apache/batik

  /**
   * <b>SAC</b>: Implements {@link
   * DocumentHandler#property(String,LexicalUnit,boolean)}.
   */
  public void property(String name, LexicalUnit value, boolean important)
    throws CSSException {
    int i = getPropertyIndex(name);
    if (i == -1) {
      i = getShorthandIndex(name);
      if (i == -1) {
        // Unknown property
        return;
      }
      shorthandManagers[i].setValues(CSSEngine.this,
                      this,
                      value,
                      important);
    } else {
      Value v = valueManagers[i].createValue(value, CSSEngine.this);
      putAuthorProperty(styleMap, i, v, important,
               StyleMap.INLINE_AUTHOR_ORIGIN);
    }
  }
}
origin: fr.avianey.apache-xmlgraphics/batik

  LexicalUnit lu;
  lu = parser.parsePropertyValue(value);
  return vm.createValue(lu, this);
} catch (Exception e) {
  String m = e.getMessage();
origin: org.apache.xmlgraphics/batik-css

  LexicalUnit lu;
  lu = parser.parsePropertyValue(value);
  return vm.createValue(lu, this);
} catch (Exception e) {
  String m = e.getMessage();
origin: apache/batik

Value v = valueManagers[i].createValue(value, CSSEngine.this);
styleMap.putMask(i, (short)0);
styleMap.putValue(i, v);
origin: org.apache.xmlgraphics/batik-css

Value v = valueManagers[i].createValue(value, CSSEngine.this);
styleMap.putMask(i, (short)0);
styleMap.putValue(i, v);
origin: fr.avianey.apache-xmlgraphics/batik

Value v = valueManagers[i].createValue(value, CSSEngine.this);
styleMap.putMask(i, (short)0);
styleMap.putValue(i, v);
org.apache.batik.css.engine.valueValueManagercreateValue

Javadoc

Creates a value from a lexical unit.

Popular methods of ValueManager

  • getDefaultValue
    Returns the default value for the handled property.
  • computeValue
    Computes the given value.
  • getPropertyName
    Returns the name of the property handled.
  • getPropertyType
    Returns the type of value this manager handles. This should be one of the TYPE_* constants defined i
  • isAdditiveProperty
    Whether the handled property can be additively animated.
  • isAnimatableProperty
    Whether the handled property can be animated.
  • isInheritedProperty
    Whether the handled property is inherited or not.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • getSharedPreferences (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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