*
* @throws ConfiguratorException A Manager for <code>pQName</code>
* was not declared or creating the instance caused an exception.
*/
public JMXmlSerializer getJMXmlSerializer(QName pQName) throws MarshalException {
JMManager manager = getManagerByQName(pQName);
if (manager == null) {
throw new MarshalException("No manager registered for " + pQName);
}
Class c = manager.getMarshallerClass();
if (c == null) {
throw new MarshalException("No marshaller class configured for " + pQName);
}
try {
JMXmlSerializer xs = (JMXmlSerializer) c.newInstance();