* @param format the format whose FormatInstance is required.
* @return FormatInstance associated with the supplied format;
* or null if one does not exist.
*/
private FormatInstance getFormatInstance(Format format) {
NDimensionalContainer container =
context.getFormatInstancesContainer(format);
Iterator iter = container.iterator();
FormatInstance formatInstance = null;
if (iter.hasNext()) {
formatInstance = (FormatInstance) iter.next();
}
return formatInstance;