Class TextPart
- java.lang.Object
- 
- com._1c.g5.v8.dt.bsl.documentation.comment.DescriptionPart
- 
- com._1c.g5.v8.dt.bsl.documentation.comment.TextPart
 
 
- 
- All Implemented Interfaces:
- IDescriptionPart
 
 public class TextPart extends DescriptionPart Class representsIDescriptionPartof Bsl documentation comment. It contains simple text
- 
- 
Constructor SummaryConstructors Constructor Description TextPart(IDescriptionPart parent, int lineNumber, int offset, String text)Constructor.TextPart(IDescriptionPart parent, int lineNumber, String text)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetText()Gets content of the partbooleanmatch(int lineNumber, int offset)Checks that this description part corresponding to the concrete line number and offsetvoidsetText(String text)Sets content of the part- 
Methods inherited from class com._1c.g5.v8.dt.bsl.documentation.comment.DescriptionPartgetLineNumber, getOffset, getParent
 
- 
 
- 
- 
- 
Constructor Detail- 
TextPartpublic TextPart(IDescriptionPart parent, int lineNumber, int offset, String text) Constructor.- Parameters:
- parent- the parent object, cannot be- null.
- lineNumber- line nubmer corresponding to part
- offset- offset of the begining part
- text- content of the part, cannot be- null
 
 - 
TextPartpublic TextPart(IDescriptionPart parent, int lineNumber, String text) Constructor.- Parameters:
- parent- the parent object, cannot be- null.
- lineNumber- line nubmer corresponding to part
- text- content of the part, cannot be- null
 
 
- 
 - 
Method Detail- 
getTextpublic String getText() Gets content of the part- Returns:
- content of the part, never null
 
 - 
setTextpublic void setText(String text) Sets content of the part- Parameters:
- text- content of the part, cannot be- null
 
 - 
matchpublic boolean match(int lineNumber, int offset)Description copied from interface:IDescriptionPartChecks that this description part corresponding to the concrete line number and offset- Parameters:
- lineNumber- number of the documentation comment line
- offset- local offset on the comment line
- Returns:
- trueif this description part corresponding to the send line number and offset,- falseotherwise
 
 
- 
 
-