tkormann 01/10/17 05:02:07 Modified: sources/org/apache/batik/dom AbstractAttr.java Log: bug fix: attributes with default values (such as preserveApsectRatio) now works (structure-extRef is now passed) Revision Changes Path 1.6 +15 -1 xml-batik/sources/org/apache/batik/dom/AbstractAttr.java Index: AbstractAttr.java =================================================================== RCS file: /home/cvs/xml-batik/sources/org/apache/batik/dom/AbstractAttr.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- AbstractAttr.java 2001/09/28 15:40:08 1.5 +++ AbstractAttr.java 2001/10/17 12:02:07 1.6 @@ -20,7 +20,7 @@ * This class implements the {@link org.w3c.dom.Attr} interface. * * @author <a href="mailto:[EMAIL PROTECTED]">Stephane Hillion</a> - * @version $Id: AbstractAttr.java,v 1.5 2001/09/28 15:40:08 hillion Exp $ + * @version $Id: AbstractAttr.java,v 1.6 2001/10/17 12:02:07 tkormann Exp $ */ public abstract class AbstractAttr extends AbstractParentNode implements Attr { /** @@ -189,6 +189,20 @@ */ public Element getOwnerElement() { return ownerElement; + } + + /** + * Called when a child node has been added. + */ + protected void nodeAdded(Node n) { + setSpecified(true); + } + + /** + * Called when a child node is going to be removed. + */ + protected void nodeToBeRemoved(Node n) { + setSpecified(true); } /**
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]