|
From: Sebastian B. <bo...@us...> - 2004-09-01 17:41:57
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/memtree In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31609/src/org/exist/memtree Modified Files: AttributeImpl.java NodeImpl.java NamespaceNode.java ElementImpl.java Log Message: Apply node-name patch by Finder and introduce QNameable interface to avoid using reflection. Index: ElementImpl.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/memtree/ElementImpl.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ElementImpl.java 7 Aug 2004 16:28:02 -0000 1.5 --- ElementImpl.java 1 Sep 2004 17:41:30 -0000 1.6 *************** *** 25,28 **** --- 25,29 ---- import org.exist.dom.NamedNodeMapImpl; import org.exist.dom.QName; + import org.exist.dom.QNameable; import org.w3c.dom.Attr; import org.w3c.dom.DOMException; *************** *** 32,36 **** import org.w3c.dom.NodeList; ! public class ElementImpl extends NodeImpl implements Element { public ElementImpl(DocumentImpl doc, int nodeNumber) { --- 33,37 ---- import org.w3c.dom.NodeList; ! public class ElementImpl extends NodeImpl implements Element, QNameable { public ElementImpl(DocumentImpl doc, int nodeNumber) { Index: NodeImpl.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/memtree/NodeImpl.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** NodeImpl.java 8 Aug 2004 19:03:25 -0000 1.18 --- NodeImpl.java 1 Sep 2004 17:41:30 -0000 1.19 *************** *** 26,29 **** --- 26,30 ---- import org.exist.dom.NodeSet; import org.exist.dom.QName; + import org.exist.dom.QNameable; import org.exist.storage.DBBroker; import org.exist.storage.serializers.Serializer; *************** *** 47,51 **** import org.xml.sax.SAXException; ! public class NodeImpl implements Node, NodeValue { public final static short REFERENCE_NODE = 100; --- 48,52 ---- import org.xml.sax.SAXException; ! public class NodeImpl implements Node, NodeValue, QNameable { public final static short REFERENCE_NODE = 100; Index: AttributeImpl.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/memtree/AttributeImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AttributeImpl.java 27 Jun 2004 21:10:06 -0000 1.4 --- AttributeImpl.java 1 Sep 2004 17:41:30 -0000 1.5 *************** *** 24,27 **** --- 24,28 ---- import org.exist.dom.QName; + import org.exist.dom.QNameable; import org.exist.xquery.value.Type; import org.w3c.dom.Attr; *************** *** 30,34 **** import org.w3c.dom.Node; ! public class AttributeImpl extends NodeImpl implements Attr { /** --- 31,35 ---- import org.w3c.dom.Node; ! public class AttributeImpl extends NodeImpl implements Attr, QNameable { /** Index: NamespaceNode.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/memtree/NamespaceNode.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NamespaceNode.java 8 Aug 2004 19:03:25 -0000 1.3 --- NamespaceNode.java 1 Sep 2004 17:41:30 -0000 1.4 *************** *** 24,27 **** --- 24,28 ---- import org.exist.dom.QName; + import org.exist.dom.QNameable; import org.exist.xquery.value.Type; import org.w3c.dom.Attr; *************** *** 37,41 **** * @author wolf */ ! public class NamespaceNode extends NodeImpl implements Attr { /** --- 38,42 ---- * @author wolf */ ! public class NamespaceNode extends NodeImpl implements Attr, QNameable { /** |