Uses of Class
org.xwiki.annotation.Annotation
-
Packages that use Annotation Package Description org.xwiki.annotation org.xwiki.annotation.io org.xwiki.annotation.renderer -
-
Uses of Annotation in org.xwiki.annotation
Methods in org.xwiki.annotation that return Annotation Modifier and Type Method Description Annotation
AnnotationService. getAnnotation(String target, String id)
Returns the annotation identified byid
on the specified target.Methods in org.xwiki.annotation that return types with arguments of type Annotation Modifier and Type Method Description Collection<Annotation>
AnnotationService. getAnnotations(String target)
Returns all the annotations on the passed content.Collection<Annotation>
AnnotationService. getValidAnnotations(String target)
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).Methods in org.xwiki.annotation with parameters of type Annotation Modifier and Type Method Description void
AnnotationService. updateAnnotation(String target, Annotation annotation)
Updates the passed annotation with the new values.Method parameters in org.xwiki.annotation with type arguments of type Annotation Modifier and Type Method Description String
AnnotationService. getAnnotatedRenderedContent(String sourceReference, String sourceSyntax, String outputSyntax, Collection<Annotation> annotations)
Returns result obtained by rendering with annotations markers the source referenced by thesourceReference
parsed insourceSyntax
. -
Uses of Annotation in org.xwiki.annotation.io
Methods in org.xwiki.annotation.io that return Annotation Modifier and Type Method Description Annotation
IOService. getAnnotation(String target, String annotationID)
Methods in org.xwiki.annotation.io that return types with arguments of type Annotation Modifier and Type Method Description Collection<Annotation>
IOService. getAnnotations(String target)
Returns all the annotations on the passed content.Methods in org.xwiki.annotation.io with parameters of type Annotation Modifier and Type Method Description void
IOService. addAnnotation(String target, Annotation annotation)
Adds annotation on the specified target.Method parameters in org.xwiki.annotation.io with type arguments of type Annotation Modifier and Type Method Description void
IOService. updateAnnotations(String target, Collection<Annotation> annotations)
Updates the set of annotations in the annotations store. -
Uses of Annotation in org.xwiki.annotation.renderer
Methods in org.xwiki.annotation.renderer that return Annotation Modifier and Type Method Description Annotation
AnnotationEvent. getAnnotation()
Method parameters in org.xwiki.annotation.renderer with type arguments of type Annotation Modifier and Type Method Description void
AbstractAnnotationRenderer. setAnnotations(Collection<Annotation> annotations)
void
AnnotationPrintRenderer. setAnnotations(Collection<Annotation> annotations)
Sets the annotations to render on the content.Constructors in org.xwiki.annotation.renderer with parameters of type Annotation Constructor Description AnnotationEvent(AnnotationEvent.AnnotationEventType type, Annotation ann)
Builds an annotation event for the passed annotation and type.
-