Class AuthorDocumentPositionedInfo

    • Constructor Detail

      • AuthorDocumentPositionedInfo

        public AuthorDocumentPositionedInfo​(DocumentPositionedInfo dpi,
                                            AuthorNode node)
        Constructor.
        Parameters:
        dpi - The document positioned info to copy.
        node - The author node. The node base URL will be used as a system ID location.
      • AuthorDocumentPositionedInfo

        public AuthorDocumentPositionedInfo​(int severity,
                                            java.lang.String message,
                                            AuthorNode node)
        Constructor.
        Parameters:
        severity - Severity. One of the severity constants from class DocumentPositionedInfo: SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO , SEVERITY_WARN.
        message - Error message.
        node - The author node. The node base URL will be used as a system ID location.
      • AuthorDocumentPositionedInfo

        public AuthorDocumentPositionedInfo​(int severity,
                                            java.lang.String message,
                                            java.lang.String systemID,
                                            AuthorNode node)
        Constructor.
        Parameters:
        severity - Severity. One of the severity constants from class DocumentPositionedInfo: SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO , SEVERITY_WARN.
        message - Error message.
        systemID - System ID
        node - The author node.
      • AuthorDocumentPositionedInfo

        public AuthorDocumentPositionedInfo​(int severity,
                                            java.lang.String message,
                                            java.lang.String systemID,
                                            int startOffset,
                                            int length)
        Constructor.
        Parameters:
        severity - Severity. One of the severity constants from class DocumentPositionedInfo: SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO , SEVERITY_WARN.
        message - Error message.
        systemID - System ID
        startOffset - The start offset of the problem, mapped in the Author content.
        length - The length of the problem, mapped in the Author content.
    • Method Detail

      • setSelectEntireNode

        public void setSelectEntireNode​(boolean selectEntireNode)
        Sets if the entire node should be selected or not.
        Parameters:
        selectEntireNode - true if the entire node should be selected.
      • isSelectEntireNode

        public boolean isSelectEntireNode()
        Checks if the entire node should be selected.
        Specified by:
        isSelectEntireNode in interface IAuthorDocumentPositionedInfo
        Returns:
        true if the entire node should be selected.