1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| 0.7 version, 2010-01-11
Bug fixes/optimizations/refactoring:
-Element.label is now final.
-In the Document.unstack() method: the peekFirst()+removeFirst() combination is replaced by pollFirst().
-Added a condition on open in the while loop in Document.finish() (useful in the inherited
ConcurrentDocument class).
New features:
-A getStringReader() method is added to Document, returning the xml text as a StringReader.
-Document now implements Cloneable. Document.clone() overrides Object.clone().
and returns a deep copy of the Document, including deep copies of all Element in the stack (see below).
-Element now implements Cloneable. Element.clone() overrides Object.clone() and returns a deep copy of
the Element.
-Document now implements CharSequence and the length(), charAt(int), subSequence(int,int) and toString() methods
are added.
-All classes now implement Serializable and contain a serialVersionUID.
-Comment, Element, ProcessingInstruction, Comment and CDATA constructors now protected. Instance are to be created
with methods from Document
-Added a thread-safe ConcurrentDocument class.
-Added a thread-safe ConcurrentElement class.
-Added a org.xpresso.xml.outputOutputter class, to output data in a Writer ou an OutputStream. |
Partager