public class Sentence extends java.lang.Object implements ChildElement, java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
Sentence |
clone() |
static Sentence |
create(Parent parent,
int lastLine)
Constructor.
|
int |
getLastLine()
Return the sentence last line.
|
int |
getLine()
Return the sentence last line.
|
SourceModel |
getModel()
Return the root model.
|
Parent |
getParent()
Return the sentence parent.
|
java.lang.String |
toString() |
public static Sentence create(Parent parent, int lastLine)
parent - the parentlastLine - the last line of the sentencepublic Parent getParent()
public SourceModel getModel()
public int getLastLine()
public int getLine()
getLine in interface ChildElementpublic Sentence clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence