com.bea.wli.sb.sources
Class TransformOptions
java.lang.Object
  
com.bea.wli.sb.sources.TransformOptions
public class TransformOptions
- extends Object
 
Class used to represent a set of transformation options.  Instances of this class
 are used in conjunction with the Transformer class to influence how a input source
 is converted to an output source (e.g. a change in character-set encoding from
 SHIFT_JIS to EUC-JP).  This class is also used by the InputStream/OutputStream
 methods of the Source interface, since that is effectively also a transformation
 between the Source and the byte-level representation in the InputStream/OutputStream.
 
 
 
 
CHARACTER_ENCODING
public static final String CHARACTER_ENCODING
- The desired character-set encoding to use in the transformation
- See Also:
 - Constant Field Values
 
 
TransformOptions
public TransformOptions()
TransformOptions
public TransformOptions(TransformOptions baseOptions)
setCharacterEncoding
public TransformOptions setCharacterEncoding(String enc)
 
getCharacterEncoding
public String getCharacterEncoding()
 
hasOption
public boolean hasOption(Object option)
 
get
public Object get(Object option)
 
put
public TransformOptions put(Object option)
 
put
public TransformOptions put(Object option,
                            int value)
 
put
public TransformOptions put(Object option,
                            Object value)
 
remove
public void remove(Object option)
 
addAll
public void addAll(TransformOptions options)
 
safeGet
public static Object safeGet(TransformOptions options,
                             Object option)
 
hasOption
public static boolean hasOption(TransformOptions options,
                                Object option)
 
toString
public String toString()
- Overrides:
 toString in class Object