/** * Returns a ClipShape instance representing the specified String value * * @param stringValue * a String value * @return return a ClipShape instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid ClipShape */ public static ClipShape valueOf(String stringValue) throws IllegalArgumentException { return new ClipShape(stringValue); }
/** * Construct ClipShape by the parsing the given string * * @param clipShape * The String to be parsed into ClipShape * @throws IllegalArgumentException if the given argument is not a valid ClipShape */ public ClipShape(String clipShape) throws IllegalArgumentException { if (!isValid(clipShape)) { throw new IllegalArgumentException( "parameter is invalid for datatype ClipShape"); } mClipShape = clipShape; }
/** * Construct ClipShape by the parsing the given string * * @param clipShape * The String to be parsed into ClipShape * @throws IllegalArgumentException if the given argument is not a valid ClipShape */ public ClipShape(String clipShape) throws IllegalArgumentException { if (!isValid(clipShape)) { throw new IllegalArgumentException( "parameter is invalid for datatype ClipShape"); } mClipShape = clipShape; }
/** * Returns a ClipShape instance representing the specified String value * * @param stringValue * a String value * @return return a ClipShape instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid ClipShape */ public static ClipShape valueOf(String stringValue) throws IllegalArgumentException { return new ClipShape(stringValue); }
/** * Construct ClipShape by the parsing the given string * * @param clipShape * The String to be parsed into ClipShape * @throws IllegalArgumentException if the given argument is not a valid ClipShape */ public ClipShape(String clipShape) throws IllegalArgumentException { if (!isValid(clipShape)) { throw new IllegalArgumentException( "parameter is invalid for datatype ClipShape"); } mClipShape = clipShape; }
/** * Returns a ClipShape instance representing the specified String value * * @param stringValue * a String value * @return return a ClipShape instance representing stringValue * @throws IllegalArgumentException if the given argument is not a valid ClipShape */ public static ClipShape valueOf(String stringValue) throws IllegalArgumentException { return new ClipShape(stringValue); }