Located, NamespaceAwarepublic class LocatedText extends Text implements Located
Content.CType| Constructor | Description |
|---|---|
LocatedText(java.lang.String str) |
This constructor creates a new
Text node, with the
supplied string value as it's character content. |
| 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
|
equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParentElement, hashCodefinalize, getClass, notify, notifyAll, wait, wait, waitappend, append, clone, detach, getParent, getText, getTextNormalize, getTextTrim, getValue, normalizeString, setParent, setText, toStringpublic LocatedText(java.lang.String str)
Text node, with the
supplied string value as it's character content.str - the node's character content.IllegalDataException - if str contains an
illegal character such as a vertical tab (as determined
by Verifier.checkCharacterData(java.lang.String))public int getLine()
Locatedpublic int getColumn()
Locatedpublic void setLine(int line)
LocatedCopyright ? 2019 Jason Hunter, Brett McLaughlin. All Rights Reserved.