src/main/java/org/jboss/util/xml/catalog/CatalogManager.java
private boolean queryUseStaticCatalog () {
    String staticCatalog = System.getProperty(pStatic);

    if (useStaticCatalog == null) {
      if (resources==null) readProperties();
      if (resources==null) return defaultUseStaticCatalog;
      try {
	staticCatalog = resources.getString("static-catalog");
      } catch (MissingResourceException e) {
	return defaultUseStaticCatalog;
      }
    }

    if (staticCatalog == null) {
      return defaultUseStaticCatalog;
    }

    return (staticCatalog.equalsIgnoreCase("true")
	    || staticCatalog.equalsIgnoreCase("yes")
	    || staticCatalog.equalsIgnoreCase("1"));
  }
private boolean queryUseStaticCatalog () {
    String staticCatalog = System.getProperty(pStatic);

    if (useStaticCatalog == null) {
      if (resources==null) readProperties();
      if (resources==null) return defaultUseStaticCatalog;
      try {
	staticCatalog = resources.getString("static-catalog");
      } catch (MissingResourceException e) {
	return defaultUseStaticCatalog;
      }
    }

    if (staticCatalog == null) {
      return defaultUseStaticCatalog;
    }

    return (staticCatalog.equalsIgnoreCase("true")
	    || staticCatalog.equalsIgnoreCase("yes")
	    || staticCatalog.equalsIgnoreCase("1"));
  }
Obtain the static-catalog setting from the properties.

<p>In the properties, a value of 'yes', 'true', or '1' is considered
true, anything else is false.</p>

@return The static-catalog setting from the propertyFile or the
defaultUseStaticCatalog.