The answer is that the isSetXXX() methods are being generated for "optional"
elements/attributes, where by "optional" we mean they can appear 0 or 1 times.
For arrays (elements that can appear more than 1 time), you can call
sizeOfXXX(), that would be the equivalent method.
Radu
________________________________
From: Ben roche [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2008 12:24 PM
To: [email protected]
Subject: Testing the element's existence
Hi,
I'm new in the use of XMLBeans, and I have one question:
How can you test the existence of an element ? I see there is an
isSetAttribute() for each attribute, but I don't the see an equivalent method
for the element... Did you do a getElementArray() and test if the array is
empty ? I just feel it strange that there is no testing method for element...
Thank you for you help, i know that my question is a little bit stupid
but I didn't find any answers on the XMLBeans website.
Regards
________________________________
Qui vous permet d'enregistrer la TV sur votre PC et lire vos emails sur
votre mobile ? la réponse en vidéo la réponse en vidéo
<http://www.microsoft.com/france/windows/bts/default.mspx>