com.sas.util.transforms
Class StringToHorizontalOrientationTransform

com.sas.util.transforms.StringToHorizontalOrientationTransform
All Implemented Interfaces:
com.sas.util.transforms.TransformInterface, java.io.Serializable

public class StringToHorizontalOrientationTransform
implements com.sas.util.transforms.TransformInterface

See Also:
Serialized Form

Field Summary
static StringToHorizontalOrientationTransform defaultInstance
           
static java.lang.String RB_KEY
           
 
Constructor Summary
StringToHorizontalOrientationTransform()
          Default no=arg constructor.
StringToHorizontalOrientationTransform(java.util.Locale locale)
          Create instance with locale setting.
 
Method Summary
 java.lang.Object transform(java.lang.Object input)
          Convert LEFT, RIGHT, CENTER, or GENERAL to appropriate Integer representation.
 

Field Detail

RB_KEY

public static final java.lang.String RB_KEY
See Also:
Constant Field Values

defaultInstance

public static final StringToHorizontalOrientationTransform defaultInstance
Constructor Detail

StringToHorizontalOrientationTransform

public StringToHorizontalOrientationTransform()
Default no=arg constructor.


StringToHorizontalOrientationTransform

public StringToHorizontalOrientationTransform(java.util.Locale locale)
Create instance with locale setting.

Parameters:
locale - language passed in for localization of transform messages
Method Detail

transform

public java.lang.Object transform(java.lang.Object input)
                           throws com.sas.util.transforms.TransformException
Convert LEFT, RIGHT, CENTER, or GENERAL to appropriate Integer representation.

Specified by:
transform in interface com.sas.util.transforms.TransformInterface
Parameters:
input - string to convert
Throws:
com.sas.util.transforms.TransformException



Copyright © 2009 SAS Institute Inc. All Rights Reserved.