com.ontotext.ordi.wsmo4rdf.impl
Class Util

java.lang.Object
  extended by com.ontotext.ordi.wsmo4rdf.impl.Util

public class Util
extends Object


Constructor Summary
Util()
           
 
Method Summary
static Class<? extends Entity> identifierToClass(Identifier id)
           
static void setDataFactory(DataFactory factory)
          Replace the default DataFactory implementation.
static Identifier toIdentifier(Resource resource)
           
static URI toURI(Object wsmlValue)
           
static Value toValue(Object wsmlValue)
           
static Value toValue(Object wsmlValue, URI type)
           
static Object toValue(Value value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

setDataFactory

public static void setDataFactory(DataFactory factory)
Replace the default DataFactory implementation.

Parameters:
factory - instance to be used

toURI

public static URI toURI(Object wsmlValue)

toValue

public static Value toValue(Object wsmlValue)

toValue

public static Value toValue(Object wsmlValue,
                            URI type)

toIdentifier

public static Identifier toIdentifier(Resource resource)

toValue

public static Object toValue(Value value)

identifierToClass

public static Class<? extends Entity> identifierToClass(Identifier id)


Copyright © 2008. All Rights Reserved.