|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.renderer.DocumentElement
public class DocumentElement
This is the document level element.
Constructor Summary | |
---|---|
DocumentElement()
This is a constructor used for testing. |
Method Summary | |
---|---|
void |
accept(PageElementVisitor visitor)
Accepts a visitor that should visit the page data. |
void |
addElement(PageElement element)
Append page data to the composite. |
int |
getColumnNumber()
Return the column number where the current page element ends. |
List<PageElement> |
getElements()
Returns the sub-elements in the element. |
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 DocumentElement()
Method Detail |
---|
public void accept(PageElementVisitor visitor)
accept
in interface PageElement
visitor
- visitor.public void addElement(PageElement element)
CompositePageElement
addElement
in interface CompositePageElement
element
- public List<PageElement> getElements()
getElements
in interface CompositePageElement
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 |