Last modified 4 years ago
Extension Mechanism
When you load a document, you can specify a Content Type Manager.
The Content Type Manager is responsible for mapping content types in Content_Types.xml to Java objects.
If the Java object ordinarily responsible is not sufficient for your needs:
- Create a new object which does what you want, probably extending the existing one
- Create an implementation of the ContentTypeManager interface (usually you will extend ContentTypeManagerImpl). In that implementation, implement the relevant Create..PartObject
- Be sure to pass your content type manager implementation to the relevant load object.
