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