se.biltmore.tools.odttoapt.maven.plugin.models
Class APTSectionTitle

java.lang.Object
  extended by se.biltmore.tools.odttoapt.maven.plugin.models.APT
      extended by 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.
 
Method Summary
 String getValue()
          Returns the value.
 
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APT
done, formatText, getParent, getUnformattedValue, 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

level

private int level
The level of the title.

Constructor Detail

APTSectionTitle

public APTSectionTitle(int level)
Creates a new section title.

Parameters:
level - The level of the title (1 - 5).
Method Detail

getValue

public String getValue()
Returns the value.

Overrides:
getValue in class APT


Copyright © 2009-2010 Biltmore Group AB. All Rights Reserved.