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

java.lang.Object
  extended by se.biltmore.tools.odttoapt.maven.plugin.models.APT
      extended by se.biltmore.tools.odttoapt.maven.plugin.models.APTParent
          extended by se.biltmore.tools.odttoapt.maven.plugin.models.APTParagraph
              extended by se.biltmore.tools.odttoapt.maven.plugin.models.APTPreformatted
Direct Known Subclasses:
APTPreformattedBoxed

public class APTPreformatted
extends APTParagraph

This is a paragraph type model containing preformatted text. In APT that is a text block prefixed and suffixed with a "---" line.


Constructor Summary
APTPreformatted()
          Creates a new APTPreformatted instance.
 
Method Summary
 void done()
          Called at the end of paragraph.
 String getValue()
          Returns the value.
 String getValue(String format)
          Returns the value.
 
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APTParagraph
addChild, setValue
 
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
formatText, getParent, hasValue, isAllowFormat, isLink, setAllowFormat, setLink, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APTPreformatted

public APTPreformatted()
Creates a new APTPreformatted instance.

Method Detail

getValue

public String getValue()
Returns the value.

Overrides:
getValue in class APTParagraph

getValue

public String getValue(String format)
Returns the value.

Overrides:
getValue in class APTParagraph
Parameters:
format - The format for this type of preformatted paragraph.

done

public void done()
Called at the end of paragraph.

Overrides:
done in class APTParagraph


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