se.biltmore.tools.odttoapt.maven.plugin.models
Class APTSectionTitle
java.lang.Object
se.biltmore.tools.odttoapt.maven.plugin.models.APT
se.biltmore.tools.odttoapt.maven.plugin.models.APTSectionTitle
- All Implemented Interfaces:
- IgnoreChildren
public class APTSectionTitle
- extends APT
- implements IgnoreChildren
This represents a section title in a APT document. This only supports 5 levels of titles since I got the
impression that is the limit for APT according to the "http://maven.apache.org/doxia/references/apt-format.html"
document, but I can have missinterpreted that. Not having the need for more personally I have never tested
going further.
The highest level section title starts at the first character of a line. Lower lever section titles are prefixed
with one or more '*' characters and then a space.
Field Summary |
private int |
level
The level of the title. |
Constructor Summary |
APTSectionTitle(int level)
Creates a new section title. |
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APT |
done, formatText, getParent, getUnformattedValue, hasValue, isAllowFormat, isLink, setAllowFormat, setLink, setParent, setValue, toString |
level
private int level
- The level of the title.
APTSectionTitle
public APTSectionTitle(int level)
- Creates a new section title.
- Parameters:
level
- The level of the title (1 - 5).
getValue
public String getValue()
- Returns the value.
- Overrides:
getValue
in class APT
Copyright © 2009-2010 Biltmore Group AB. All Rights Reserved.