users@jaxb.java.net

how to obtain namespace of the unmarshalled object?

From: Simuni, Ilya <Ilya.Simuni_at_gs.com>
Date: Thu, 03 Apr 2003 11:18:34 -0500

Is there a better way to retrieve a namespace of the object then accessing
function from impl class?
I am using this:
 String ns =
((node.impl.NodeContextImpl)obj).____jaxb_ri____getNamespaceURI();

thanks,
ilya