ch.uzh.ifi.attempto.acewiki.core
Class SentenceDetail

java.lang.Object
  extended by ch.uzh.ifi.attempto.acewiki.core.SentenceDetail

public class SentenceDetail
extends java.lang.Object

This class represents a detail of a sentence like a syntax tree or a logical formula.

Author:
Tobias Kuhn

Constructor Summary
SentenceDetail(java.lang.String name, java.lang.String richText)
          Creates a new sentence detail.
 
Method Summary
 java.lang.String getName()
          Returns the name of the sentence detail, as shown to the user.
 java.lang.String getRichText()
          Returns the content of the sentence detail.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentenceDetail

public SentenceDetail(java.lang.String name,
                      java.lang.String richText)
Creates a new sentence detail.

Parameters:
name - The name of the detail, as shown to the user.
richText - The content of the detail, possibly containing HTML tags.
Method Detail

getName

public java.lang.String getName()
Returns the name of the sentence detail, as shown to the user.

Returns:
The name.

getRichText

public java.lang.String getRichText()
Returns the content of the sentence detail. It can be plain text or contain HTML tags.

Returns:
The content as rich text.


Copyright 2008-2012, AceWiki developers