Located, NamespaceAwarepublic class LocatedComment extends Comment implements Located
Content.CType| Constructor | Description |
|---|---|
LocatedComment(java.lang.String text) |
This creates the comment with the supplied text.
|
| Modifier and Type | Method | 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, toStringequals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParent, getParentElement, hashCodepublic LocatedComment(java.lang.String text)
text - String content of comment.public int getLine()
Locatedpublic int getColumn()
Locatedpublic void setLine(int line)
LocatedCopyright ? 2019 Jason Hunter, Brett McLaughlin. All Rights Reserved.