|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.rdf.model.JenaConfig
A Class for configuring Jena's behaviour.
It is sometimes necessary to configure Jena's behaviour. For example when external functionality has changed, it may, for a time be desirable to be able to configure Jena to continue the old behaviour so that existing code which relied on the old behaviour does not break.
Configuration options can sometimes be set using system properties. The following system properties are defined:
com.hp.hpl.jena.oldLiteralCompare
: This can be set
to "true" before running Jena to turn on old literal compare behaviour.
See setOldLiteralCompare
below.
Method Summary | |
static boolean |
getOldLiteralCompare()
Deprecated. this functionality is temporary |
static boolean |
setOldLiteralCompare(boolean b)
Deprecated. this functionality is temporary |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean setOldLiteralCompare(boolean b)
The RDFCore WG recently decided that two literals were not equal if they differed only in the setting of their isWellFormedXML flag. This is different from Jena's original behaviour.
Jena literals have been modified to support the behaviour defined by RDFCore. By calling this method with true as a parameter, Jena can be configured to use its old behaviour.
b
- The value to set the oldLiteralCompare flag
public static boolean getOldLiteralCompare()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |