com.sun.jimi.core.options
Class FormatOptionSetSupport

java.lang.Object
  |
  +--com.sun.jimi.core.options.FormatOptionSetSupport

public abstract class FormatOptionSetSupport
extends java.lang.Object

Base class providing partial implementation of the FormatOptionSet interface.


Field Summary
protected  java.util.Hashtable nameToOptionMap
           
protected  FormatOption[] options
           
 
Constructor Summary
protected FormatOptionSetSupport()
           
 
Method Summary
 FormatOption getOption(java.lang.String name)
           
 FormatOption[] getOptions()
           
protected  void initWithOptions(FormatOption[] options)
          Should be called by the subclass to initialize.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameToOptionMap

protected java.util.Hashtable nameToOptionMap

options

protected FormatOption[] options
Constructor Detail

FormatOptionSetSupport

protected FormatOptionSetSupport()
Method Detail

initWithOptions

protected void initWithOptions(FormatOption[] options)
Should be called by the subclass to initialize.
Parameters:
options - the options to expose

getOptions

public FormatOption[] getOptions()

getOption

public FormatOption getOption(java.lang.String name)
                       throws OptionException