org.apache.wiki.ui
Class Editor

java.lang.Object
  extended by org.apache.wiki.ui.Editor

public class Editor
extends Object

Describes an editor.

Since:
2.4.12

Constructor Summary
Editor(WikiContext wikiContext, String editorName)
           
 
Method Summary
 String getName()
           
 String getURL()
          Deprecated.  
 String isSelected()
          Convinience method which returns XHTML for an option element.
 String isSelected(String ifSelected)
           
 String isSelected(String ifSelected, String ifNotSelected)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Editor

public Editor(WikiContext wikiContext,
              String editorName)
Method Detail

getName

public String getName()

getURL

public String getURL()
Deprecated. 


isSelected

public String isSelected()
Convinience method which returns XHTML for an option element.

Returns:
"selected='selected'", if this editor is selected.

isSelected

public String isSelected(String ifSelected)

isSelected

public String isSelected(String ifSelected,
                         String ifNotSelected)

toString

public String toString()
Overrides:
toString in class Object


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.