add schem.org prefix to default prefixes on server
@@ -28,10 +28,10 @@ import won.protocol.vocabulary.*;
* User: fkleedorfer
* Date: 27.09.13
*/
-public class DefaultPrefixUtils
-{
+public class DefaultPrefixUtils {
/**
* Sets the default prefixes on the specified model.
+ *
* @param model
*/
public static void setDefaultPrefixes(Model model) {
@@ -40,6 +40,7 @@ public class DefaultPrefixUtils
/**
* * Sets the default prefixes on the specified prefixMapping.
+ *
* @param prefixMapping
*/
public static void setDefaultPrefixes(PrefixMapping prefixMapping) {
@@ -55,6 +56,7 @@ public class DefaultPrefixUtils
prefixMapping.setNsPrefix("geo", GEO.getURI());
prefixMapping.setNsPrefix("xsd", XSD.getURI());
prefixMapping.setNsPrefix("dc", DC.getURI());
+ prefixMapping.setNsPrefix("s", "http://schema.org/");
}
public static PrefixMapping getDefaultPrefixes() {
