org.odftoolkit.odfdom.type
Class ClipShape

java.lang.Object
  extended by 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 Summary
ClipShape(String clipShape)
          Construct ClipShape by the parsing the given string
 
Method Summary
static boolean isValid(String stringValue)
          check if the specified String is a valid clipShape data type
 String toString()
          Returns a String Object representing this ClipShape's value
static ClipShape valueOf(String stringValue)
          Returns a ClipShape instance representing the specified String value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

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


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.