Tabnine Logo
SVGOMElement.getAttributeType
Code IndexAdd Tabnine to your IDE (free)

How to use
getAttributeType
method
in
org.apache.batik.anim.dom.SVGOMElement

Best Java code snippets using org.apache.batik.anim.dom.SVGOMElement.getAttributeType (Showing top 6 results out of 315)

origin: apache/batik

/**
 * Parses an AnimatableValue.
 */
public AnimatableValue parseAnimatableValue(Element animElt,
                      AnimationTarget target,
                      String ns, String ln,
                      boolean isCSS,
                      String s) {
  SVGOMElement elt = (SVGOMElement) target.getElement();
  int type;
  if (isCSS) {
    type = elt.getPropertyType(ln);
  } else {
    type = elt.getAttributeType(ns, ln);
  }
  Factory factory = factories[type];
  if (factory == null) {
    String an = ns == null ? ln : '{' + ns + '}' + ln;
    throw new BridgeException
      (ctx, animElt, "attribute.not.animatable",
       new Object[] { target.getElement().getNodeName(), an });
  }
  return factories[type].createValue(target, ns, ln, isCSS, s);
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Parses an AnimatableValue.
 */
public AnimatableValue parseAnimatableValue(Element animElt,
                      AnimationTarget target,
                      String ns, String ln,
                      boolean isCSS,
                      String s) {
  SVGOMElement elt = (SVGOMElement) target.getElement();
  int type;
  if (isCSS) {
    type = elt.getPropertyType(ln);
  } else {
    type = elt.getAttributeType(ns, ln);
  }
  Factory factory = factories[type];
  if (factory == null) {
    String an = ns == null ? ln : '{' + ns + '}' + ln;
    throw new BridgeException
      (ctx, animElt, "attribute.not.animatable",
       new Object[] { target.getElement().getNodeName(), an });
  }
  return factories[type].createValue(target, ns, ln, isCSS, s);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Parses an AnimatableValue.
 */
public AnimatableValue parseAnimatableValue(Element animElt,
                      AnimationTarget target,
                      String ns, String ln,
                      boolean isCSS,
                      String s) {
  SVGOMElement elt = (SVGOMElement) target.getElement();
  int type;
  if (isCSS) {
    type = elt.getPropertyType(ln);
  } else {
    type = elt.getAttributeType(ns, ln);
  }
  Factory factory = factories[type];
  if (factory == null) {
    String an = ns == null ? ln : '{' + ns + '}' + ln;
    throw new BridgeException
      (ctx, animElt, "attribute.not.animatable",
       new Object[] { target.getElement().getNodeName(), an });
  }
  return factories[type].createValue(target, ns, ln, isCSS, s);
}
origin: fr.avianey.apache-xmlgraphics/batik

  type = targetElement.getPropertyType(attributeLocalName);
} else {
  type = targetElement.getAttributeType(attributeNamespaceURI,
                     attributeLocalName);
origin: apache/batik

  type = targetElement.getPropertyType(attributeLocalName);
} else {
  type = targetElement.getAttributeType(attributeNamespaceURI,
                     attributeLocalName);
origin: org.apache.xmlgraphics/batik-bridge

  type = targetElement.getPropertyType(attributeLocalName);
} else {
  type = targetElement.getAttributeType(attributeNamespaceURI,
                     attributeLocalName);
org.apache.batik.anim.domSVGOMElementgetAttributeType

Javadoc

Returns the type of the given attribute.

Popular methods of SVGOMElement

  • setSVGContext
    Sets the SVG context to use to get SVG specific informations.
  • getAttributeNS
  • getNodeName
    DOM: Implements Node#getNodeName().
  • getSVGContext
    Returns the SVG context used to get SVG specific informations.
  • setAttributeNS
  • addTargetListener
    Adds a listener for changes to the given attribute value.
  • copyInto
    Copy the fields of the current node into the given node.
  • createDOMException
  • createLiveAnimatedNumber
    Creates a new SVGOMAnimatedNumber that can be parsed as a percentage and stores it in this element's
  • createSVGException
    Creates an SVGException with the appropriate error message.
  • deepCopyInto
    Deeply copy the fields of the current node into the given node.
  • deepExport
    Deeply exports this node to the given document.
  • deepCopyInto,
  • deepExport,
  • export,
  • fireBaseAttributeListeners,
  • getAttributeNodeNS,
  • getCascadedXMLBase,
  • getCurrentDocument,
  • getFirstChild,
  • getLiveAttributeValue

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Option (scala)
  • Top PhpStorm 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