congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TranscodingHints$Key
Code IndexAdd Tabnine to your IDE (free)

How to use
TranscodingHints$Key
in
org.apache.batik.transcoder

Best Java code snippets using org.apache.batik.transcoder.TranscodingHints$Key (Showing top 2 results out of 315)

origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Maps the specified <code>key</code> to the specified <code>value</code>
 * in this <code>TranscodingHints</code> object.
 *
 * @param key the trancoding hint key.
 * @param value the trancoding hint value.
 * @exception IllegalArgumentException value is not
 * appropriate for the specified key.
 * @exception ClassCastException key is not of type
 * <code>TranscodingHints.Key</code>
 */
public Object put(Object key, Object value) {
  if (!((Key) key).isCompatibleValue(value)) {
    throw new IllegalArgumentException(value+
                      " incompatible with "+
                      key);
  }
  return super.put(key, value);
}
origin: apache/batik

/**
 * Maps the specified <code>key</code> to the specified <code>value</code>
 * in this <code>TranscodingHints</code> object.
 *
 * @param key the trancoding hint key.
 * @param value the trancoding hint value.
 * @exception IllegalArgumentException value is not
 * appropriate for the specified key.
 * @exception ClassCastException key is not of type
 * <code>TranscodingHints.Key</code>
 */
public Object put(Object key, Object value) {
  if (!((Key) key).isCompatibleValue(value)) {
    throw new IllegalArgumentException(value+
                      " incompatible with "+
                      key);
  }
  return super.put(key, value);
}
org.apache.batik.transcoderTranscodingHints$Key

Javadoc

Defines the base type of all keys used to control various aspects of the transcoding operations.

Most used methods

  • isCompatibleValue
    Returns true if the specified object is a valid value for this key, false otherwise.

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top plugins for WebStorm
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