// So that UIMA can support both Axis versions, we have different
// versions of each of our serializer classes. Here we check the
// Axis version number and return an insance of the correct class.
String ver = Version.getVersion();
if (ver.startsWith("Apache Axis version: 1.1")) {
return new XmlDeserializer_Axis11();
} else {
return new XmlDeserializer();
}
}