Package org.odftoolkit.odfdom.type
Class ClipShape
- java.lang.Object
-
- org.odftoolkit.odfdom.type.ClipShape
-
- All Implemented Interfaces:
OdfDataType
public class ClipShape extends Object implements OdfDataType
This class represents the in OpenDocument format used data type clipShape
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isValid(String stringValue)
check if the specified String is a valid clipShape data typeString
toString()
Returns a String Object representing this ClipShape's valuestatic ClipShape
valueOf(String stringValue)
Returns a ClipShape instance representing the specified String value
-
-
-
Constructor Detail
-
ClipShape
public ClipShape(String clipShape) throws IllegalArgumentException
Construct ClipShape by the parsing the given string- Parameters:
clipShape
- The String to be parsed into ClipShape- Throws:
IllegalArgumentException
- if the given argument is not a valid ClipShape
-
-
Method Detail
-
toString
public String toString()
Returns a String Object representing this ClipShape's value
-
valueOf
public static ClipShape valueOf(String stringValue) throws IllegalArgumentException
Returns a ClipShape instance representing the specified String value- Parameters:
stringValue
- a String value- Returns:
- return a ClipShape instance representing stringValue
- Throws:
IllegalArgumentException
- if the given argument is not a valid ClipShape
-
-