com.sas.util.transforms
Class FeatureDescriptorToNameTransform

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

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

FeatureDescriptorToNameTransform converts a Beans FeatureDescriptor to a String containing the feature name.

This is useful for displaying a list of PropertyDescriptors in a ListBox without having to create a separate collection with just the names.

See Also:
Serialized Form

Field Summary
static FeatureDescriptorToNameTransform defaultInstance
           
 
Constructor Summary
FeatureDescriptorToNameTransform()
           
 
Method Summary
 java.lang.Object transform(java.lang.Object featureDescriptor)
           
 

Field Detail

defaultInstance

public static final FeatureDescriptorToNameTransform defaultInstance
Constructor Detail

FeatureDescriptorToNameTransform

public FeatureDescriptorToNameTransform()
Method Detail

transform

public java.lang.Object transform(java.lang.Object featureDescriptor)
Specified by:
transform in interface com.sas.util.transforms.TransformInterface



Copyright © 2009 SAS Institute Inc. All Rights Reserved.