<s>
JDOM	B-Language
is	O
an	O
open-source	B-Application
Java-based	O
document	B-General_Concept
object	I-General_Concept
model	I-General_Concept
for	O
XML	B-Protocol
that	O
was	O
designed	O
specifically	O
for	O
the	O
Java	B-Device
platform	I-Device
so	O
that	O
it	O
can	O
take	O
advantage	O
of	O
its	O
language	O
features	O
.	O
</s>
<s>
JDOM	B-Language
integrates	O
with	O
Document	B-General_Concept
Object	I-General_Concept
Model	I-General_Concept
(	O
DOM	B-General_Concept
)	O
and	O
Simple	B-Application
API	I-Application
for	I-Application
XML	I-Application
(	O
SAX	O
)	O
,	O
supports	O
XPath	B-Language
and	O
XSLT	B-Application
.	O
</s>
<s>
JDOM	B-Language
was	O
developed	O
by	O
Jason	O
Hunter	O
and	O
Brett	O
McLaughlin	O
starting	O
in	O
March	O
2000	O
.	O
</s>
<s>
It	O
has	O
been	O
part	O
of	O
the	O
Java	B-Language
Community	I-Language
Process	I-Language
as	O
JSR	B-Language
102	I-Language
,	O
though	O
that	O
effort	O
has	O
since	O
been	O
abandoned	O
.	O
</s>
<s>
Suppose	O
the	O
file	O
"	O
foo.xml	O
"	O
contains	O
this	O
XML	B-Protocol
document	I-Protocol
:	O
</s>
<s>
One	O
can	O
parse	O
the	O
XML	B-Protocol
file	O
into	O
a	O
tree	O
of	O
Java	B-Device
objects	O
with	O
JDOM	B-Language
,	O
like	O
so	O
:	O
</s>
<s>
As	O
a	O
converse	O
,	O
one	O
can	O
construct	O
a	O
tree	O
of	O
elements	O
,	O
then	O
generate	O
an	O
XML	B-Protocol
file	O
from	O
it	O
,	O
as	O
in	O
the	O
following	O
example	O
:	O
</s>
