Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.7)

E15033-09


com.bea.wli.sb.sources
Class TransformOptions

java.lang.Object
  extended by com.bea.wli.sb.sources.TransformOptions


public class TransformOptions
extends java.lang.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.


Field Summary
static java.lang.String CHARACTER_ENCODING
          The desired character-set encoding to use in the transformation

 

Constructor Summary
TransformOptions()
           
TransformOptions(TransformOptions baseOptions)
           

 

Method Summary
 void addAll(TransformOptions options)
           
 java.lang.Object get(java.lang.Object option)
           
 java.lang.String getCharacterEncoding()
           
 boolean hasOption(java.lang.Object option)
           
static boolean hasOption(TransformOptions options, java.lang.Object option)
           
 TransformOptions put(java.lang.Object option)
           
 TransformOptions put(java.lang.Object option, int value)
           
 TransformOptions put(java.lang.Object option, java.lang.Object value)
           
 void remove(java.lang.Object option)
           
static java.lang.Object safeGet(TransformOptions options, java.lang.Object option)
           
 TransformOptions setCharacterEncoding(java.lang.String enc)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

CHARACTER_ENCODING

public static final java.lang.String CHARACTER_ENCODING
The desired character-set encoding to use in the transformation
See Also:
Constant Field Values

Constructor Detail

TransformOptions

public TransformOptions()

TransformOptions

public TransformOptions(TransformOptions baseOptions)

Method Detail

setCharacterEncoding

public TransformOptions setCharacterEncoding(java.lang.String enc)

getCharacterEncoding

public java.lang.String getCharacterEncoding()

hasOption

public boolean hasOption(java.lang.Object option)

get

public java.lang.Object get(java.lang.Object option)

put

public TransformOptions put(java.lang.Object option)

put

public TransformOptions put(java.lang.Object option,
                            int value)

put

public TransformOptions put(java.lang.Object option,
                            java.lang.Object value)

remove

public void remove(java.lang.Object option)

addAll

public void addAll(TransformOptions options)

safeGet

public static java.lang.Object safeGet(TransformOptions options,
                                       java.lang.Object option)

hasOption

public static boolean hasOption(TransformOptions options,
                                java.lang.Object option)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.7)

E15033-09


Copyright © 2008, 2013, Oracle. All rights reserved.