- getAnnotatedHTML(String) - Method in class org.xwiki.annotation.script.AnnotationScriptService
-
Returns the XHTML of the requested source, along with annotations inserted as span
elements inside it.
- getAnnotatedRenderedContent(String, String, String, Collection<Annotation>) - Method in class org.xwiki.annotation.script.AnnotationScriptService
-
Returns result obtained by rendering with annotations markers the source referenced by the
sourceReference
parsed in sourceSyntax
.
- getAnnotation(String, String) - Method in class org.xwiki.annotation.script.AnnotationScriptService
-
Returns the annotation identified by id
on the specified target.
- getAnnotation(EntityReference, String) - Method in class org.xwiki.annotation.script.AnnotationScriptService
-
Returns the annotation identified by id
on the specified target.
- getAnnotations(String) - Method in class org.xwiki.annotation.script.AnnotationScriptService
-
Returns all the annotations on the passed content.
- getValidAnnotations(String) - Method in class org.xwiki.annotation.script.AnnotationScriptService
-
Shortcut function to get all annotations which are valid on the specified target, regardless of the updates the
document and its annotations suffered from creation ('safe' or 'updated' state).