[jdom-interest] Entities with inner structure
Gabor Greif
gabor at no.netopia.com
Wed Jun 21 09:39:10 PDT 2000
I get an exception when parsing something like
<tag>
&CancelButton;
</tag>
where CancelButton is an entity that is not string valued but consists of
tag(s):
<!ENTITY CancelButton "<pane type='Button'><ostype
name='id'>&CancelButtonID;</ostype><string
name="label">Cancel</string></pane>" >
I am using JDOM b4.
What is the preferred way to use this feature?
I would propose that a subclass of Entity would be created in the "tag"
Element, that would have a method for parsing the internal structure of the
entity and giving back its constituents.
Any ideas?
Thanks,
Gabor
More information about the jdom-interest
mailing list