org.weblab_project.core.util
Class AnnotationUtil

java.lang.Object
  extended by org.weblab_project.core.util.AnnotationUtil

Deprecated. Use PoKUtil instead

@Deprecated
public class AnnotationUtil
extends java.lang.Object

Author:
EADS WebLab Team
See Also:
PoKUtil

Method Summary
static java.lang.String getAnnotationData(org.weblab_project.core.model.Annotation annotation)
          Deprecated. Use PoKUtil.getPoKData(annotation) instead
static void setAnnotationData(org.weblab_project.core.model.Annotation annotation, java.lang.String annotationStr)
          Deprecated. Use PoKUtil.setPoKData() instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAnnotationData

@Deprecated
public static java.lang.String getAnnotationData(org.weblab_project.core.model.Annotation annotation)
Deprecated. Use PoKUtil.getPoKData(annotation) instead

Returns a String containing the RDF statements of the Annotation.

Parameters:
annotation - Annotation you want to get the String content
Returns:
The String content of the Annotation
See Also:
org.weblab_project.core.uti.PoKUtil#getPoKData(PieceOfKnowledge pok)

setAnnotationData

@Deprecated
public static void setAnnotationData(org.weblab_project.core.model.Annotation annotation,
                                                java.lang.String annotationStr)
                              throws WebLabCheckedException
Deprecated. Use PoKUtil.setPoKData() instead

Set the Annotation data using a String, the parameter have to be a valid XML String. If the parameter don't start with '
Parameters:
annotation - the Annotation you want to modify
annotationStr - contains the RDF/XML String
Throws:
WebLabCheckedException - the String parameter is not XML valid.
See Also:
org.weblab_project.core.uti.PoKUtil#setPoKData()


Copyright © 2004-2009. All Rights Reserved.