fop 1.0

org.apache.fop.afp.modca
Class Registry

java.lang.Object
  extended by org.apache.fop.afp.modca.Registry

public final class Registry
extends java.lang.Object

MOD:CA Registry of object types


Nested Class Summary
 class Registry.ObjectType
          Encapsulates a MOD:CA Registry Object Type entry
 
Method Summary
static Registry getInstance()
          Returns a single instance of a MO:DCA Registry
 Registry.ObjectType getObjectType(java.lang.String mimeType)
          Returns the MOD:CA object type given a mimetype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

fop 1.0

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.