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