protected Boolean parseBooleanValue(String value) throws ParseException {
  if (value == null) {
    return null;
  }
  if (value.equalsIgnoreCase("false") || value.equals("0")) {
    return Boolean.FALSE;
  }
  if (value.equalsIgnoreCase("true") || value.equals("1")) {
    return Boolean.TRUE;
  }
  ParseException pe=new ParseException(CoreErrorDomain.ERR.invalidBooleanAttribute);
  pe.setInternalReason("Invalid value for boolean attribute: " + value);
  throw pe;
}

protected Boolean parseBooleanValue ( String value ) throws ParseException { if ( value == null ) { return null ; } if ( value . equalsIgnoreCase ( "false" ) || value . equals ( "0" ) ) { return Boolean . FALSE ; } if ( value . equalsIgnoreCase ( "true" ) || value . equals ( "1" ) ) { return Boolean . TRUE ; } ParseException pe = new ParseException ( CoreErrorDomain . ERR . invalidBooleanAttribute ) ; pe . setInternalReason ( "Invalid value for boolean attribute: " + value ) ; throw pe ; }
utility method to parse provided xsd : boolean value .
