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
  • Constructor Details

    • 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 Details

    • toString

      public String toString()
      Returns a String Object representing this ClipShape's value
      Overrides:
      toString in class Object
      Returns:
      return a string representation of the value of this ClipShape object
    • 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
    • isValid

      public static boolean isValid(String stringValue)
      check if the specified String is a valid clipShape data type
      Parameters:
      stringValue - the value to be tested
      Returns:
      true if the value of argument is valid for clipShape data type false otherwise