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

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.APTImage

public class APTImage
extends APTParent

This represents an image in a APT doucment. The APT documentation calls this a figure.

It has the format "[path to image] image caption" with no indent. The image caption is optional.


Field Summary
(package private)  APTImageCaption caption
          The image caption.
(package private)  APTImageHRef href
          The href to the image within the destination.
 
Constructor Summary
APTImage()
          Creates a new APTImage instance.
 
Method Summary
 void addChild(APT apt)
          Adds the specified APT object as a child to this APT object.
protected  String getValue()
          Returns the value.
 
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

href

APTImageHRef href
The href to the image within the destination.


caption

APTImageCaption caption
The image caption.

Constructor Detail

APTImage

public APTImage()
Creates a new APTImage instance.

Method Detail

addChild

public void addChild(APT apt)
Adds the specified APT object as a child to this APT object.

Overrides:
addChild in class APTParent
Parameters:
apt - The APT object to add.

getValue

protected String getValue()
Returns the value.

Overrides:
getValue in class APT


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