public class LocatedComment extends Comment implements Located
Content.CType
Constructor and Description |
---|
LocatedComment(java.lang.String text)
This creates the comment with the supplied text.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Get the column (character on the line).
|
int |
getLine()
Get the line number
|
void |
setColumn(int col)
Set the column (character on the line).
|
void |
setLine(int line)
Set the line number
|
clone, detach, getText, getValue, setParent, setText, toString
equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParent, getParentElement, hashCode
public LocatedComment(java.lang.String text)
text
- String
content of comment.public int getLine()
Located
public int getColumn()
Located
public void setLine(int line)
Located
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.