I am sorry that I am resending this because those of you that have already
seen it and can't answerr will inadvertedly be trashing this once again, but
I really need help here as this is for my final year Uni thesis and I am
stuck (deep).

Derrick



Hi I am new to Castor and it's functionalities, and need some help on the
marshalling side.

My Java object extends Vector and so it is a collection of String values
that are added within the object by a method called setNode(Object o). This
method progressively adds nodes to the vector when called. How do I go about
outputting these in the generated XML document?? I am conscious that I need
a getter method but if this were to return a Vector, would Castor resolve
the individual String elements and print them for me within the needed
<node> ... </node> tags.

I am sending you my Java file for the TraversalPath class which is being
marshalled by Castor, so you may understand better what I am talking of.

I really hope somebody can help as this id for my Uni dissertation thesis.
:)

Derrick

Attachment: TraversalPath.java
Description: Binary data

Reply via email to