/** * <b>DOM</b>: Implements {@link SVGElement#getXMLbase()}. */ public String getXMLbase() { return getAttributeNS(XML_NAMESPACE_URI, XML_BASE_ATTRIBUTE); }
/** * <b>DOM</b>: Implements {@link SVGElement#getXMLbase()}. */ public String getXMLbase() { return getAttributeNS(XML_NAMESPACE_URI, XML_BASE_ATTRIBUTE); }
/** * <b>DOM</b>: Implements {@link SVGElement#getXMLbase()}. */ public String getXMLbase() { return getAttributeNS(XML_NAMESPACE_URI, XML_BASE_ATTRIBUTE); }
/** * 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")); }
/** * 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")); }
/** * 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")); }
/** * 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(); }
/** * 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(); }
/** * 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(); }
/** * 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]; }
/** * 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); }
/** * 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); }
/** * 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]; }
/** * <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); }
/** * 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]; }
/** * <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); }
/** * <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); }
/** * 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); }
/** * 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 }); }
/** * 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 }); }