net.sf.eclipseexeditor.actions
Class QuoteXMLFilterActionDelegate
java.lang.Object
net.sf.eclipseexeditor.actions.FilterActionDelegate
net.sf.eclipseexeditor.actions.QuoteXMLFilterActionDelegate
- All Implemented Interfaces:
- IActionDelegate, IEditorActionDelegate
- public class QuoteXMLFilterActionDelegate
- extends FilterActionDelegate
Eclipse action for replacing XML special characters in the selected region with escaped characters. This
action runs in the standard Eclipse text editor.
- Author:
- David Biesack David.Biesack@mindspring.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuoteXMLFilterActionDelegate
public QuoteXMLFilterActionDelegate()
- Default Constructor for QuoteXMLFilterActionDelegate
isFilterable
protected boolean isFilterable()
- Overrides:
isFilterable
in class FilterActionDelegate
filter
protected String filter(IProgressMonitor monitor,
String selectedText)
- Filter the selectedText by quoting XML special characters, replacing them with the
corresponding XML entities.
- Overrides:
filter
in class FilterActionDelegate
- Parameters:
selectedText
- the text to filter
- Returns:
- the input text with special XML characters replaced with XML entities.
- See Also:
FilterCommandUI.readFilter(String)