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 ChildElement
public Sentence clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence