throw new MarshalException(e);
}
}
public void marshal(Object pObject, ContentHandler pHandler) throws JAXBException {
JMElement element = (JMElement) pObject;
try {
JMXmlSerializer serializer = getJAXBContextImpl().getJMXmlSerializer(element.getQName());
serializer.marshal(serializer.getData(this, pHandler), element.getQName(), element);
} catch (SAXException e) {
throw new MarshalException(e);
}
}