|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.document.DocumentPositionedInfo
ro.sync.ecss.component.validation.AuthorDocumentPositionedInfo
@API(type=EXTENDABLE, src=PUBLIC) public class AuthorDocumentPositionedInfo
A document position info usually needs a line and column for the error. This extension allows you to specify either the problem AuthorNode or an offset/length interval in the Author content.
Field Summary | |
---|---|
static ro.sync.document.DPIData |
CONTENT_DATA
Marks in the DPI that the offset is from the Author content |
Fields inherited from class ro.sync.document.DocumentPositionedInfo |
---|
NOT_KNOWN, SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO, SEVERITY_WARN |
Constructor Summary | |
---|---|
AuthorDocumentPositionedInfo(int severity,
java.lang.String message,
java.lang.String systemID,
AuthorNode node)
Constructor. |
|
AuthorDocumentPositionedInfo(int severity,
java.lang.String message,
java.lang.String systemID,
int startOffset,
int length)
Constructor. |
Method Summary | |
---|---|
AuthorNode |
getNode()
|
boolean |
isSelectEntireNode()
Checks if the entire node should be selected. |
void |
setSelectEntireNode(boolean selectEntireNode)
Sets if the entire node should be selected or not. |
Methods inherited from class ro.sync.document.DocumentPositionedInfo |
---|
asHTML, asHTML, asText, asText, asXML, asXML, equals, flipSeverity, getAdditionalHtmlContent, getAdditionalInfo, getAnchor, getColumn, getData, getDITAAdditionalInfo, getEndColumn, getEndLine, getEngineName, getImposedInitialPage, getLength, getLine, getMatchRange, getMessage, getMessageHighlightOffset, getMessageProvider, getMessageWithEngine, getMessageWithSeverity, getOffset, getOperationDescription, getSeverity, getSeverityAsString, getStartEndPositions, getSystemID, hashCode, isHighlightToColumn, setAdditionalInfo, setAnchor, setColumn, setData, setDITAAdditionalInfo, setEndColumn, setEndLine, setEngineName, setHighlightToColumn, setImposedInitialPage, setLength, setLine, setMaskPasswordsInURLs, setMatchRange, setMessage, setMessageHighlightOffset, setOffset, setOperationDescription, setSeverity, setSystemID, setTemporaryPositions, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static ro.sync.document.DPIData CONTENT_DATA
Constructor Detail |
---|
public AuthorDocumentPositionedInfo(int severity, java.lang.String message, java.lang.String systemID, AuthorNode node)
severity
- Severity. One of the severity constants from class DocumentPositionedInfo:
SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO , SEVERITY_WARN.message
- Error message.systemID
- System IDnode
- The author node.public AuthorDocumentPositionedInfo(int severity, java.lang.String message, java.lang.String systemID, int startOffset, int length)
severity
- Severity. One of the severity constants from class DocumentPositionedInfo:
SEVERITY_ERROR, SEVERITY_FATAL, SEVERITY_INFO , SEVERITY_WARN.message
- Error message.systemID
- System IDstartOffset
- The start offset of the problem, mapped in the Author content.length
- The length of the problem, mapped in the Author content.Method Detail |
---|
public AuthorNode getNode()
public void setSelectEntireNode(boolean selectEntireNode)
selectEntireNode
- true
if the entire node should be selected.public boolean isSelectEntireNode()
true
if the entire node should be selected.
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |