boolean cacheSitemap = true;
if (getServletConfig().getInitParameter(GP.cacheSitemap.getURI()) != null)
cacheSitemap = Boolean.valueOf(getServletConfig().getInitParameter(GP.cacheSitemap.getURI()));
OntDocumentManager.getInstance().setCacheModels(cacheSitemap); // lets cache the ontologies FTW!!
}
<BUG>private static void initPersonalities(Personality<RDFNode> p)
</BUG>
{
<BUG>if (p == null) throw new IllegalArgumentException("Personality<RDFNode> cannot be null");

p.add(Template.class, TemplateImpl.factory);

p.add(TemplateCall.class, TemplateCallImpl.factory);
</BUG>
}

boolean cacheSitemap = true;
if (getServletConfig().getInitParameter(GP.cacheSitemap.getURI()) != null)
cacheSitemap = Boolean.valueOf(getServletConfig().getInitParameter(GP.cacheSitemap.getURI()));
OntDocumentManager.getInstance().setCacheModels(cacheSitemap); // lets cache the ontologies FTW!!
}
private static void initPersonalities(Personality<RDFNode> personality)
{
if (personality == null) throw new IllegalArgumentException("Personality<RDFNode> cannot be null");
personality.add(Argument.class, ArgumentImpl.factory);
personality.add(Template.class, TemplateImpl.factory);
personality.add(TemplateCall.class, TemplateCallImpl.factory);
}
