[jdom-commits] CVS Update: jdom/src/java/org/jdom
Jason Hunter
jhunter at servlets.com
Tue Aug 31 14:47:51 PDT 2004
****************************************
Date: Tue Aug 31, 2004 @14:47:51 PDT
Author:
Update of /home/cvs/jdom/src/java/org/jdom
In directory servlets:/tmp/cvs-serv30695
Modified Files:
DefaultJDOMFactory.java Document.java Element.java
JDOMFactory.java Parent.java UncheckedJDOMFactory.java
Log Message:
First, added the factory method
entityRef(String elementName, String systemID) to match the EntityRef
constructor with the same parameter signature. We've been matching
constructors with factory calls but overlooked this one.
People who wrote their own factories and didn't subclass
DefaultJDOMFactory will need to take note!
Second, moved addContent() and setContent() from Parent into Document
and Element directly. This restores the method chaining that some
people really like. It behaves more like Beta 9 code now. This could break code that changed for b10 if it called the methods on the Parent
interface.
When we move to J2SE 5.0 we can use covariant return types to put the
methods in Parent while avoiding the cast in Document and Element.
That's the ideal.
-jh-
===================================================================
File: no file DefaultJDOMFactory.java Status: Needs Checkout
Working revision: 1.5 Tue Aug 31 21:47:51 2004
Repository revision: 1.5 /home/cvs/jdom/src/java/org/jdom/DefaultJDOMFactory.java,v
Existing Tags:
BEFORE_UNCHECKED (revision: 1.3)
jdom_1_0_b10 (revision: 1.2)
jdom_1_0_b10_rc1 (revision: 1.2)
===================================================================
File: no file Document.java Status: Needs Checkout
Working revision: 1.84 Tue Aug 31 21:47:51 2004
Repository revision: 1.84 /home/cvs/jdom/src/java/org/jdom/Document.java,v
Existing Tags:
BEFORE_UNCHECKED (revision: 1.83)
jdom_1_0_b10 (revision: 1.79)
jdom_1_0_b10_rc1 (revision: 1.79)
after_rolf (revision: 1.75)
before_rolf (revision: 1.74)
jdom_1_0_b9 (revision: 1.63)
jdom_1_0_b8 (revision: 1.55)
jdom_prefilter (revision: 1.47)
jdom_1_0_b7 (revision: 1.44)
jdom_1_0_b6 (revision: 1.25)
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
===================================================================
File: no file Element.java Status: Needs Checkout
Working revision: 1.150 Tue Aug 31 21:47:51 2004
Repository revision: 1.150 /home/cvs/jdom/src/java/org/jdom/Element.java,v
Existing Tags:
BEFORE_UNCHECKED (revision: 1.148)
jdom_1_0_b10 (revision: 1.145)
jdom_1_0_b10_rc1 (revision: 1.143)
after_rolf (revision: 1.140)
before_rolf (revision: 1.139)
jdom_1_0_b9 (revision: 1.130)
jdom_1_0_b8 (revision: 1.115)
jdom_prefilter (revision: 1.102)
jdom_1_0_b7 (revision: 1.96)
jdom_1_0_b6 (revision: 1.52)
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
===================================================================
File: no file JDOMFactory.java Status: Needs Checkout
Working revision: 1.7 Tue Aug 31 21:47:51 2004
Repository revision: 1.7 /home/cvs/jdom/src/java/org/jdom/JDOMFactory.java,v
Existing Tags:
BEFORE_UNCHECKED (revision: 1.3)
jdom_1_0_b10 (revision: 1.2)
jdom_1_0_b10_rc1 (revision: 1.2)
===================================================================
File: no file Parent.java Status: Needs Checkout
Working revision: 1.12 Tue Aug 31 21:47:51 2004
Repository revision: 1.12 /home/cvs/jdom/src/java/org/jdom/Parent.java,v
Existing Tags:
BEFORE_UNCHECKED (revision: 1.11)
jdom_1_0_b10 (revision: 1.9)
jdom_1_0_b10_rc1 (revision: 1.9)
after_rolf (revision: 1.7)
before_rolf (revision: 1.6)
===================================================================
File: UncheckedJDOMFactory.java Status: Up-to-date
Working revision: 1.2 Tue Aug 31 21:47:51 2004
Repository revision: 1.2 /home/cvs/jdom/src/java/org/jdom/UncheckedJDOMFactory.java,v
Existing Tags:
No Tags Exist
More information about the jdom-commits
mailing list