|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.renderer.StringElement
public class StringElement
A page data that contains a string.
Constructor Summary | |
---|---|
StringElement(String content)
Constructs the element. |
Method Summary | |
---|---|
void |
accept(PageElementVisitor visitor)
Accepts a visitor that should visit the page data. |
int |
getColumnNumber()
Return the column number where the current page element ends. |
String |
getContent()
Returns the content of the string page data. |
int |
getLineNumber()
Return the line number where the current page element ends. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringElement(String content)
content
- contentMethod Detail |
---|
public void accept(PageElementVisitor visitor)
accept
in interface PageElement
visitor
- visitor.public String getContent()
public int getColumnNumber()
PageElement
getColumnNumber
in interface PageElement
PageElement.getColumnNumber()
public int getLineNumber()
PageElement
getLineNumber
in interface PageElement
PageElement.getLineNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |