at.gv.egovernment.moa.util
Class BoolUtils

java.lang.Object
  |
  +--at.gv.egovernment.moa.util.BoolUtils

public class BoolUtils
extends Object

Utility class for parsing XML schema boolean values.

Version:
$Id$
Author:
Patrick Peck

Constructor Summary
BoolUtils()
           
 
Method Summary
static boolean valueOf(String boolStr)
          Return the boolean value of an xsd:boolean type of DOM element/attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoolUtils

public BoolUtils()
Method Detail

valueOf

public static boolean valueOf(String boolStr)
Return the boolean value of an xsd:boolean type of DOM element/attribute.
Parameters:
boolStr - The value of the xsd:boolean element/attribute.
Returns:
true, if boolStr equals "true" or "1;". Otherwise, false is returned.