You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/11/06 18:53:10 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/utils DOMBuilder.java
sboag 00/11/06 09:53:07
Modified: java/src/org/apache/xalan/utils DOMBuilder.java
Log:
Documentation.
Also, call setIDAttribute with only two args.
Revision Changes Path
1.9 +5 -10 xml-xalan/java/src/org/apache/xalan/utils/DOMBuilder.java
Index: DOMBuilder.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/utils/DOMBuilder.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DOMBuilder.java 2000/10/30 18:57:15 1.8
+++ DOMBuilder.java 2000/11/06 17:52:59 1.9
@@ -335,8 +335,7 @@
//System.out.println("type " + atts.getType(i) + " name " + atts.getLocalName(i) );
// First handle a possible ID attribute
if (atts.getType(i).equalsIgnoreCase("ID"))
- setIDAttribute(atts.getURI(i), atts.getLocalName(i),
- atts.getValue(i), elem);
+ setIDAttribute(atts.getValue(i), elem);
String attrNS = atts.getURI(i);
@@ -386,16 +385,12 @@
}
/**
- * NEEDSDOC Method setIDAttribute
+ * Set an ID string to node association in the ID table.
*
- *
- * NEEDSDOC @param namespaceURI
- * NEEDSDOC @param qualifiedName
- * NEEDSDOC @param value
- * NEEDSDOC @param elem
+ * @param id The ID string.
+ * @param elem The associated ID.
*/
- public void setIDAttribute(String namespaceURI, String qualifiedName,
- String value, Element elem)
+ public void setIDAttribute(String id, Element elem)
{
// Do nothing. This method is meant to be overiden.