org.jbehaviour.wiki.model
Class WikiToken

java.lang.Object
  extended by org.jbehaviour.wiki.model.WikiToken
All Implemented Interfaces:
IWikiToken
Direct Known Subclasses:
WikiBold, WikiBullets, WikiContent, WikiHeadings, WikiItalics, WikiLinkTo, WikiLinkToUrl, WikiNumbered, WikiRoot

public abstract class WikiToken
extends Object
implements IWikiToken


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jbehaviour.wiki.model.IWikiToken
IWikiToken.types
 
Field Summary
protected  List<IWikiToken> tokens
           
protected  IWikiToken.types type
           
protected  String value
           
 
Constructor Summary
WikiToken(IWikiToken _owner, String _value)
           
 
Method Summary
 IWikiToken add(IWikiToken token)
           
 IWikiToken getRoot()
           
 List<IWikiToken> getTokens()
           
 String getValue()
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbehaviour.wiki.model.IWikiToken
toHtml
 

Field Detail

type

protected IWikiToken.types type

value

protected String value

tokens

protected List<IWikiToken> tokens
Constructor Detail

WikiToken

public WikiToken(IWikiToken _owner,
                 String _value)
Method Detail

getValue

public String getValue()

setValue

public void setValue(String value)

add

public IWikiToken add(IWikiToken token)
Specified by:
add in interface IWikiToken

getRoot

public IWikiToken getRoot()
Specified by:
getRoot in interface IWikiToken

toString

public String toString()
Overrides:
toString in class Object

getTokens

public List<IWikiToken> getTokens()
Specified by:
getTokens in interface IWikiToken


Copyright © 2012. All Rights Reserved.