On 9/12/05, Dean Hiller <[EMAIL PROTECTED]> wrote: > For unmarshalling, I get xml, and have no idea which handler to use to > unmarshal the xml without parsing the xml first. I would hate to parse the > xml twice. It looks like the JMUnmarshallerHandler can do that for me > though as it looks up the manager it needs after parsing the first element. > Am I even explaining this right?
I'd assume that you get the same affect by concatenating all the package names into a single string and pass that to JAXBContext.newInstance(). That should give you a context (and thus an Unmarshaller) who knows about all of your classes. Jochen -- Having experienced 7 years of labour/green government, I now know the reason, why a conservative government is good for the economy: The economy's unable to imagine anything else ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
