protected String marshall(ComponentInstances jaxb) throws XmlException {
return(parser.marshall(jaxb));
}
protected ComponentInstances unmarshall(String xml) throws XmlException {
ComponentInstances jaxb = null;
try {
jaxb = (ComponentInstances)parser.unmarshall(xml);
} catch(ClassCastException e) {
throw new XmlException("The given message was not a ComponentInstances Message - ClassCastException: " + e.getMessage(), e);
}