Skip to content

Compare: JDOM2 Features

Showing with 8 additions and 0 deletions.
  1. +8 −0 JDOM2-Features.md
View
8 JDOM2-Features.md
@@ -32,6 +32,14 @@ In addition to this obvious change, there are a lot of other changes.
In addition to the major extensions and features above a number of other notable changes have been made too.
+### Serialization
+
+Serialization has been completely audited, revamped, and tested. All core JDOM content is completely serializable. This includes: Namespace, Attribute, all Parent, and all Content.
+
+### Clone
+
+Clonable has been completely audited, revamped, and tested. All core JDOM content is completely cloneable. This includes: Attribute, all Parent, and all Content. Namespace is not Clonable. In addition, the clone() method has been made to have a covarian return type for each of these classes, thus, `Element.clone()` returns `Element`, `Text.clone()` returns `Text`, etc.
+
### Reflection
There were a number of places in JDOM where reflection and introspection was used to determine what features were available. This sort of logic was required to support Java 1.2 while still also making certain Java 1.4 functionality possible. These places have been stripped and replaced with cleaner direct access to code functionality, which now effectively precludes support for previous versions of Java, but that's what JDOM2 is all about.
Something went wrong with that request. Please try again.