|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.biltmore.tools.odttoapt.maven.plugin.models.APT
se.biltmore.tools.odttoapt.maven.plugin.models.APTParent
se.biltmore.tools.odttoapt.maven.plugin.models.APTDocument
public class APTDocument
This is the top model. It represents a complete APT document. It accepts section titles, paragraphs, and lists as children. The getValue() method will return a complete APT document.
Field Summary | |
---|---|
private APTDocumentAttribute |
author
The document author |
private APTDocumentAttribute |
date
The document date. |
private APTDocumentAttribute |
title
The document title. |
Constructor Summary | |
---|---|
APTDocument()
|
Method Summary | |
---|---|
void |
addChild(APT child)
Adds a child to the document. |
void |
addParagraph(APTParagraph paragraph)
A document only takes paragraphs as children. |
String |
getValue()
This returns the complete APT document as a String. |
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APTParent |
---|
getChildren, getLastChild, getUnformattedValue, hasChildren |
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APT |
---|
done, formatText, getParent, hasValue, isAllowFormat, isLink, setAllowFormat, setLink, setParent, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private APTDocumentAttribute title
private APTDocumentAttribute author
private APTDocumentAttribute date
Constructor Detail |
---|
public APTDocument()
Method Detail |
---|
public void addParagraph(APTParagraph paragraph)
paragraph
- The paragraph to add.public void addChild(APT child)
addChild
in class APTParent
child
- The child to add.public String getValue()
getValue
in class APT
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |