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

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

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

origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Implements {@link SVGElement#getXMLbase()}.
 */
public String getXMLbase() {
  return getAttributeNS(XML_NAMESPACE_URI, XML_BASE_ATTRIBUTE);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Implements {@link SVGElement#getXMLbase()}.
 */
public String getXMLbase() {
  return getAttributeNS(XML_NAMESPACE_URI, XML_BASE_ATTRIBUTE);
}
origin: apache/batik

/**
 * <b>DOM</b>: Implements {@link SVGElement#getXMLbase()}.
 */
public String getXMLbase() {
  return getAttributeNS(XML_NAMESPACE_URI, XML_BASE_ATTRIBUTE);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Initializes the timing attributes of the timed element.
 */
protected void initializeTimedElement(TimedElement timedElement) {
  timedElement.parseAttributes
    (element.getAttributeNS(null, "begin"),
     element.getAttributeNS(null, "dur"),
     element.getAttributeNS(null, "end"),
     element.getAttributeNS(null, "min"),
     element.getAttributeNS(null, "max"),
     element.getAttributeNS(null, "repeatCount"),
     element.getAttributeNS(null, "repeatDur"),
     element.getAttributeNS(null, "fill"),
     element.getAttributeNS(null, "restart"));
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Initializes the timing attributes of the timed element.
 */
protected void initializeTimedElement(TimedElement timedElement) {
  timedElement.parseAttributes
    (element.getAttributeNS(null, "begin"),
     element.getAttributeNS(null, "dur"),
     element.getAttributeNS(null, "end"),
     element.getAttributeNS(null, "min"),
     element.getAttributeNS(null, "max"),
     element.getAttributeNS(null, "repeatCount"),
     element.getAttributeNS(null, "repeatDur"),
     element.getAttributeNS(null, "fill"),
     element.getAttributeNS(null, "restart"));
}
origin: apache/batik

/**
 * Initializes the timing attributes of the timed element.
 */
protected void initializeTimedElement(TimedElement timedElement) {
  timedElement.parseAttributes
    (element.getAttributeNS(null, "begin"),
     element.getAttributeNS(null, "dur"),
     element.getAttributeNS(null, "end"),
     element.getAttributeNS(null, "min"),
     element.getAttributeNS(null, "max"),
     element.getAttributeNS(null, "repeatCount"),
     element.getAttributeNS(null, "repeatDur"),
     element.getAttributeNS(null, "fill"),
     element.getAttributeNS(null, "restart"));
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Returns a string representation of this animation.
 */
public String toString() {
  if (element != null) {
    String id = element.getAttributeNS(null, "id");
    if (id.length() != 0) {
      return id;
    }
  }
  return super.toString();
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns a string representation of this animation.
 */
public String toString() {
  if (element != null) {
    String id = element.getAttributeNS(null, "id");
    if (id.length() != 0) {
      return id;
    }
  }
  return super.toString();
}
origin: apache/batik

/**
 * Returns a string representation of this animation.
 */
public String toString() {
  if (element != null) {
    String id = element.getAttributeNS(null, "id");
    if (id.length() != 0) {
      return id;
    }
  }
  return super.toString();
}
origin: apache/batik

/**
 * Parses a single comma-separated length pair.
 */
protected AnimatableValue parseLengthPair(String ln) {
  String s = element.getAttributeNS(null, ln);
  if (s.length() == 0) {
    return null;
  }
  return parseValues(s)[0];
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns the parsed 'values' attribute from the animation element.
 */
protected AnimatableValue[] parseValues() {
  String valuesString = element.getAttributeNS(null,
                         SVG_VALUES_ATTRIBUTE);
  int len = valuesString.length();
  if (len == 0) {
    return null;
  }
  return parseValues(valuesString);
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Returns the parsed 'values' attribute from the animation element.
 */
protected AnimatableValue[] parseValues() {
  String valuesString = element.getAttributeNS(null,
                         SVG_VALUES_ATTRIBUTE);
  int len = valuesString.length();
  if (len == 0) {
    return null;
  }
  return parseValues(valuesString);
}
origin: org.apache.xmlgraphics/batik-bridge

/**
 * Parses a single comma-separated length pair.
 */
protected AnimatableValue parseLengthPair(String ln) {
  String s = element.getAttributeNS(null, ln);
  if (s.length() == 0) {
    return null;
  }
  return parseValues(s)[0];
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * <b>DOM</b>: Implements {@link SVGElement#getId()}.
 */
public String getId() {
  if (((SVGOMDocument) ownerDocument).isSVG12) {
    Attr a = getAttributeNodeNS(XML_NAMESPACE_URI, SVG_ID_ATTRIBUTE);
    if (a != null) {
      return a.getNodeValue();
    }
  }
  return getAttributeNS(null, SVG_ID_ATTRIBUTE);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Parses a single comma-separated length pair.
 */
protected AnimatableValue parseLengthPair(String ln) {
  String s = element.getAttributeNS(null, ln);
  if (s.length() == 0) {
    return null;
  }
  return parseValues(s)[0];
}
origin: org.apache.xmlgraphics/batik-anim

/**
 * <b>DOM</b>: Implements {@link SVGElement#getId()}.
 */
public String getId() {
  if (((SVGOMDocument) ownerDocument).isSVG12) {
    Attr a = getAttributeNodeNS(XML_NAMESPACE_URI, SVG_ID_ATTRIBUTE);
    if (a != null) {
      return a.getNodeValue();
    }
  }
  return getAttributeNS(null, SVG_ID_ATTRIBUTE);
}
origin: apache/batik

/**
 * <b>DOM</b>: Implements {@link SVGElement#getId()}.
 */
public String getId() {
  if (((SVGOMDocument) ownerDocument).isSVG12) {
    Attr a = getAttributeNodeNS(XML_NAMESPACE_URI, SVG_ID_ATTRIBUTE);
    if (a != null) {
      return a.getNodeValue();
    }
  }
  return getAttributeNS(null, SVG_ID_ATTRIBUTE);
}
origin: apache/batik

/**
 * Returns the parsed 'values' attribute from the animation element.
 */
protected AnimatableValue[] parseValues() {
  String valuesString = element.getAttributeNS(null,
                         SVG_VALUES_ATTRIBUTE);
  int len = valuesString.length();
  if (len == 0) {
    return null;
  }
  return parseValues(valuesString);
}
origin: fr.avianey.apache-xmlgraphics/batik

/**
 * Returns the parsed 'additive' attribute from the animation element.
 */
protected boolean parseAdditive() {
  String additiveString = element.getAttributeNS(null,
                          SVG_ADDITIVE_ATTRIBUTE);
  if (additiveString.length() == 0
      || additiveString.equals(SMILConstants.SMIL_REPLACE_VALUE)) {
    return false;
  } else if (additiveString.equals(SMILConstants.SMIL_SUM_VALUE)) {
    return true;
  }
  throw new BridgeException
    (ctx, element, ErrorConstants.ERR_ATTRIBUTE_VALUE_MALFORMED,
     new Object[] { SVG_ADDITIVE_ATTRIBUTE, additiveString });
}
origin: apache/batik

/**
 * Returns the parsed 'additive' attribute from the animation element.
 */
protected boolean parseAdditive() {
  String additiveString = element.getAttributeNS(null,
                          SVG_ADDITIVE_ATTRIBUTE);
  if (additiveString.length() == 0
      || additiveString.equals(SMILConstants.SMIL_REPLACE_VALUE)) {
    return false;
  } else if (additiveString.equals(SMILConstants.SMIL_SUM_VALUE)) {
    return true;
  }
  throw new BridgeException
    (ctx, element, ErrorConstants.ERR_ATTRIBUTE_VALUE_MALFORMED,
     new Object[] { SVG_ADDITIVE_ATTRIBUTE, additiveString });
}
org.apache.batik.anim.domSVGOMElementgetAttributeNS

Popular methods of SVGOMElement

  • setSVGContext
    Sets the SVG context to use to get SVG specific informations.
  • 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.
  • export
    Exports this node to the given document.
  • deepExport,
  • export,
  • fireBaseAttributeListeners,
  • getAttributeNodeNS,
  • getAttributeType,
  • getCascadedXMLBase,
  • getCurrentDocument,
  • getFirstChild,
  • getLiveAttributeValue

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • getSupportFragmentManager (FragmentActivity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 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