throw new MarshalException(e);
}
}
public void marshal(Object pObject, ContentHandler pHandler) throws JAXBException {
JMElement element = (JMElement) pObject;
QName qName = element.getQName();
try {
JMManager manager = getJAXBContextImpl().getManager(qName);
JMSAXDriver driver = manager.getDriver();
JMSAXDriverController controller = new JMSAXDriverController(this, pHandler);
controller.marshal(driver, qName.getPrefix(), qName.getNamespaceURI(), qName.getLocalPart(), element);