Package org.apache.fop.afp.modca
Class Registry
- java.lang.Object
-
- org.apache.fop.afp.modca.Registry
-
public final class Registry extends java.lang.Object
MOD:CA Registry of object types
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Registry.ObjectType
Encapsulates a MOD:CA Registry Object Type entry
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Registry
getInstance()
Returns a single instance of a MO:DCA RegistryRegistry.ObjectType
getObjectType(java.lang.String mimeType)
Returns the MOD:CA object type given a mimetype
-
-
-
Method Detail
-
getInstance
public static Registry getInstance()
Returns a single instance of a MO:DCA Registry- Returns:
- a single instance of an MO:DCA Registry
-
getObjectType
public Registry.ObjectType getObjectType(java.lang.String mimeType)
Returns the MOD:CA object type given a mimetype- Parameters:
mimeType
- the object mimetype- Returns:
- the MOD:CA object type
-
-