if (property.equals(XalanProperties.SOURCE_LOCATION)) { if (!(value instanceof Boolean)) throw new RuntimeException(XSLMessages.createMessage(XSLTErrorResources.ER_PROPERTY_VALUE_BOOLEAN, new Object[]{XalanProperties.SOURCE_LOCATION}));   m_useSourceLocationProperty = ((Boolean)value).booleanValue(); }
  public void setProperty(String property, Object value)  {    if (property.equals(XalanProperties.SOURCE_LOCATION)) {      if (!(value instanceof Boolean))        throw new RuntimeException(XSLMessages.createMessage(XSLTErrorResources.ER_PROPERTY_VALUE_BOOLEAN, new Object[]{XalanProperties.SOURCE_LOCATION})); //"Value for property "                                   //+ XalanProperties.SOURCE_LOCATION                                   //+ " should be a Boolean instance");      m_useSourceLocationProperty = ((Boolean)value).booleanValue();    }  }