public class BidiTransformer
extends java.lang.Object
BidiAttributes| Constructor and Description | 
|---|
| BidiTransformer(BidiAttributes inAttrs,
               BidiAttributes outAttrs)Set the input and output Bidi attributes of the {@link BidiAttributes) | 
| BidiTransformer(BidiAttributes inAttrs,
               BidiAttributes outAttrs,
               boolean exceptIfEqual)Set the input and output Bidi attributes of the {@link BidiAttributes) | 
| BidiTransformer(java.lang.String inFormat,
               java.lang.String outFormat)Set the input and output Bidi attributes of the {@link BidiAttributes) | 
| BidiTransformer(java.lang.String inFormat,
               java.lang.String outFormat,
               boolean exceptIfEqual)Set the input and output Bidi attributes of the {@link BidiAttributes) | 
| Modifier and Type | Method and Description | 
|---|---|
| static BidiAttributes | getDefaultBidiAttributes() | 
| java.lang.String | transform(java.lang.String text)Perform Bidi transformation based on input and output attributes | 
public BidiTransformer(BidiAttributes inAttrs, BidiAttributes outAttrs) throws BidiTransformationException
inAttrs - attributes for the input text. inAttr Can't be null.outAttrs - attributes for the transformed text. outAttr Can't be null.
 
 exceptIfEqual is passed by false to disable throwing exception if the in & out attributes are equal
 
 For default attributes initialization call getDefaultBidiAttributes()BidiTransformationExceptionpublic BidiTransformer(BidiAttributes inAttrs, BidiAttributes outAttrs, boolean exceptIfEqual) throws BidiTransformationException
inAttrs - attributes for the input text. inAttr Can't be null.outAttrs - attributes for the transformed text. outAttr Can't be null.exceptIfEqual - direct the transformer to throw exception if equal in & out attributes
 
 For default attributes initialization call getDefaultBidiAttributes()BidiTransformationExceptionpublic BidiTransformer(java.lang.String inFormat,
               java.lang.String outFormat)
                throws BidiTransformationException
inFormat - flag-set attributes for the input text. Can't be null.outFormat - flag-set attributes for the transformed text. Can't be null.
 exceptIfEqual is passed by false to disable throwing exception if the in & out attributes are equalBidiTransformationExceptionpublic BidiTransformer(java.lang.String inFormat,
               java.lang.String outFormat,
               boolean exceptIfEqual)
                throws BidiTransformationException
inFormat - flag-set attributes for the input text. Can't be null.outFormat - flag-set attributes for the transformed text. Can't be null.exceptIfEqual - direct the transformer to throw exception if equal in & out attributesBidiTransformationExceptionpublic java.lang.String transform(java.lang.String text)
                           throws BidiTransformationException
text - to be transformed according to the previously initialized in & out attributesBidiTransformationException - enclosing ArabicShapingExceptionpublic static BidiAttributes getDefaultBidiAttributes()
BidiAttributes