/** * Adds an entry to the set. */ public void add(Object o1, Object o2) { table.put(o1, o2, value); }
/** * Adds an entry to the set. */ public void add(Object o1, Object o2) { table.put(o1, o2, value); }
/** * Adds an entry to the set. */ public void add(Object o1, Object o2) { table.put(o1, o2, value); }
/** * Associates a live attribute value to this element. * @param ns The attribute's namespace. * @param ln The attribute's local name. * @param val The live value. */ public void putLiveAttributeValue(String ns, String ln, LiveAttributeValue val) { // if (liveAttributeValues == null) { // liveAttributeValues = new SoftDoublyIndexedTable(); // } liveAttributeValues.put(ns, ln, val); }
/** * Creates a new {@link SVGOMAnimatedRect} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedRect createLiveAnimatedRect (String ns, String ln, String value) { SVGOMAnimatedRect v = new SVGOMAnimatedRect(this, ns, ln, value); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedRect} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedRect createLiveAnimatedRect (String ns, String ln, String value) { SVGOMAnimatedRect v = new SVGOMAnimatedRect(this, ns, ln, value); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedString} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedString createLiveAnimatedString (String ns, String ln) { SVGOMAnimatedString v = new SVGOMAnimatedString(this, ns, ln); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedInteger} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedInteger createLiveAnimatedInteger (String ns, String ln, int def) { SVGOMAnimatedInteger v = new SVGOMAnimatedInteger(this, ns, ln, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedBoolean} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedBoolean createLiveAnimatedBoolean (String ns, String ln, boolean def) { SVGOMAnimatedBoolean v = new SVGOMAnimatedBoolean(this, ns, ln, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedMarkerOrientValue} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedMarkerOrientValue createLiveAnimatedMarkerOrientValue(String ns, String ln) { SVGOMAnimatedMarkerOrientValue v = new SVGOMAnimatedMarkerOrientValue(this, ns, ln); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedNumberList} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedNumberList createLiveAnimatedNumberList (String ns, String ln, String def, boolean canEmpty) { SVGOMAnimatedNumberList v = new SVGOMAnimatedNumberList(this, ns, ln, def, canEmpty); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedTransformList} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedTransformList createLiveAnimatedTransformList (String ns, String ln, String def) { SVGOMAnimatedTransformList v = new SVGOMAnimatedTransformList(this, ns, ln, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedInteger} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedInteger createLiveAnimatedInteger (String ns, String ln, int def) { SVGOMAnimatedInteger v = new SVGOMAnimatedInteger(this, ns, ln, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedPoints} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedPoints createLiveAnimatedPoints (String ns, String ln, String def) { SVGOMAnimatedPoints v = new SVGOMAnimatedPoints(this, ns, ln, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedEnumeration} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedEnumeration createLiveAnimatedEnumeration (String ns, String ln, String[] val, short def) { SVGOMAnimatedEnumeration v = new SVGOMAnimatedEnumeration(this, ns, ln, val, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedPathData} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedPathData createLiveAnimatedPathData(String ns, String ln, String def) { SVGOMAnimatedPathData v = new SVGOMAnimatedPathData(this, ns, ln, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedNumber} that can be parsed as a * percentage and stores it in this element's LiveAttributeValue table. */ protected SVGOMAnimatedNumber createLiveAnimatedNumber (String ns, String ln, float def, boolean allowPercentage) { SVGOMAnimatedNumber v = new SVGOMAnimatedNumber(this, ns, ln, def, allowPercentage); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedString} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedString createLiveAnimatedString (String ns, String ln) { SVGOMAnimatedString v = new SVGOMAnimatedString(this, ns, ln); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedPathData} and stores it in * this element's LiveAttributeValue table. */ protected SVGOMAnimatedPathData createLiveAnimatedPathData(String ns, String ln, String def) { SVGOMAnimatedPathData v = new SVGOMAnimatedPathData(this, ns, ln, def); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }
/** * Creates a new {@link SVGOMAnimatedNumber} that can be parsed as a * percentage and stores it in this element's LiveAttributeValue table. */ protected SVGOMAnimatedNumber createLiveAnimatedNumber (String ns, String ln, float def, boolean allowPercentage) { SVGOMAnimatedNumber v = new SVGOMAnimatedNumber(this, ns, ln, def, allowPercentage); liveAttributeValues.put(ns, ln, v); v.addAnimatedAttributeListener (((SVGOMDocument) ownerDocument).getAnimatedAttributeListener()); return v; }