Package org.apache.wiki.ui
Class Editor
- java.lang.Object
-
- org.apache.wiki.ui.Editor
-
public class Editor extends java.lang.Object
Describes an editor.- Since:
- 2.4.12
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.String
isSelected()
Convenience method which returns XHTML for an option element.java.lang.String
isSelected(java.lang.String ifSelected)
java.lang.String
isSelected(java.lang.String ifSelected, java.lang.String ifNotSelected)
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
isSelected
public java.lang.String isSelected()
Convenience method which returns XHTML for an option element.- Returns:
- "selected='selected'", if this editor is selected.
-
isSelected
public java.lang.String isSelected(java.lang.String ifSelected)
-
isSelected
public java.lang.String isSelected(java.lang.String ifSelected, java.lang.String ifNotSelected)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-