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

java.lang.Object
  extended by se.biltmore.tools.odttoapt.maven.plugin.models.APT
      extended by se.biltmore.tools.odttoapt.maven.plugin.models.APTText
          extended by se.biltmore.tools.odttoapt.maven.plugin.models.APTLink
All Implemented Interfaces:
IgnoreChildren, NonParentSpaceReceiver

public class APTLink
extends APTText

This represents a hyper text link in a APT document.

Hyper text links have one of the following formats:

 {{href}} - link with href as text.
 {{{href}text}} - link with different text.
 

This is an APTText subclass which means that this can occur within an APTParagraph.


Field Summary
private  String href
          The href.
 
Constructor Summary
APTLink(String href)
          Creates a new APTLink.
 
Method Summary
protected  String getAPTTextValue()
          Returns the value.
 void setHRef(String href)
          Sets the href of the link.
 
Methods inherited from class se.biltmore.tools.odttoapt.maven.plugin.models.APTText
addSpace, getUnformattedValue, getValue
 
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

private String href
The href.

Constructor Detail

APTLink

public APTLink(String href)
Creates a new APTLink.

Parameters:
href - The href of the link.
Method Detail

setHRef

public void setHRef(String href)
Sets the href of the link.

Parameters:
href - The href to set.

getAPTTextValue

protected String getAPTTextValue()
Returns the value.

Overrides:
getAPTTextValue in class APTText


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