net.sf.eclipseexeditor.actions
Class UnQuoteXMLFilterActionDelegate

java.lang.Object
  extended bynet.sf.eclipseexeditor.actions.FilterActionDelegate
      extended bynet.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

Constructor Summary
UnQuoteXMLFilterActionDelegate()
          Default Constructor for FilterActionDelegate
 
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 net.sf.eclipseexeditor.actions.FilterActionDelegate
run, selectionChanged, setActiveEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnQuoteXMLFilterActionDelegate

public UnQuoteXMLFilterActionDelegate()
Default Constructor for FilterActionDelegate

Method Detail

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)