}
s = s.substring( 1 );
}
result = s;
} else if ( EdsRational.class.isAssignableFrom( klass ) ) {
final EdsRational struct = (EdsRational) value;
result = new String( struct.numerator.longValue() + " / " +
struct.denominator.longValue() );
} else if ( EdsPoint.class.isAssignableFrom( klass ) ) {
final EdsPoint struct = (EdsPoint) value;
result = new String( "(" + struct.x + ", " + struct.y + ")" );
} else if ( EdsRect.class.isAssignableFrom( klass ) ) {
final EdsRect struct = (EdsRect) value;
result = new String( struct.size.width + "x" +
struct.size.height + ", (" +
struct.point.x + ", " + struct.point.y +
")" );
} else if ( EdsSize.class.isAssignableFrom( klass ) ) {
final EdsSize struct = (EdsSize) value;
result = new String( struct.width + "x" + struct.height );
} else if ( EdsTime.class.isAssignableFrom( klass ) ) {
final EdsTime struct = (EdsTime) value;
result = new String( struct.year.intValue() + "-" +
struct.month.intValue() + "-" +
struct.day.intValue() + " " +
struct.hour.intValue() + ":" +
struct.minute.intValue() + ":" +
struct.second.intValue() + "." +
struct.milliseconds.intValue() );
} else if ( EdsFocusInfo.class.isAssignableFrom( klass ) ) {
final EdsFocusInfo struct = (EdsFocusInfo) value;
// TODO: handle struct output
result = struct.toString();
} else if ( EdsPictureStyleDesc.class.isAssignableFrom( klass ) ) {
final EdsPictureStyleDesc struct = (EdsPictureStyleDesc) value;
result = new String( "\n Color tone: " +
struct.colorTone.longValue() +
"\n Contrast: " +