this.partMarshallers = new Hashtable<ContentType, PartMarshaller>(5);
this.partUnmarshallers = new Hashtable<ContentType, PartUnmarshaller>(2);
try {
// Add 'default' unmarshaller
this.partUnmarshallers.put(new ContentType(
ContentTypes.CORE_PROPERTIES_PART),
new PackagePropertiesUnmarshaller());
// Add default marshaller
this.defaultPartMarshaller = new DefaultMarshaller();
// TODO Delocalize specialized marshallers
this.partMarshallers.put(new ContentType(
ContentTypes.CORE_PROPERTIES_PART),
new ZipPackagePropertiesMarshaller());
} catch (InvalidFormatException e) {
// Should never happpen
throw new OpenXML4JRuntimeException(