Class AnnotationImpl

java.lang.Object
org.nuxeo.ecm.platform.comment.api.CommentImpl
org.nuxeo.ecm.platform.comment.api.AnnotationImpl
All Implemented Interfaces:
Annotation, Comment, ExternalEntity

public class AnnotationImpl extends CommentImpl implements Annotation, ExternalEntity
Since:
10.1
  • Field Details

  • Constructor Details

    • AnnotationImpl

      public AnnotationImpl()
      Since:
      11.1
    • AnnotationImpl

      protected AnnotationImpl(DocumentModel docModel)
      Constructor for the document adapter factory.
      Since:
      11.1
  • Method Details

    • getXpath

      public String getXpath()
      Description copied from interface: Annotation
      Gets the xpath of annotated blob in the document.
      Specified by:
      getXpath in interface Annotation
      Returns:
      the xpath
    • setXpath

      public void setXpath(String xpath)
      Description copied from interface: Annotation
      Sets the xpath of annotated blob in the document.
      Specified by:
      setXpath in interface Annotation
      Parameters:
      xpath - the xpath