org.xwiki.gwt.wysiwyg.client.plugin.importer
Class PasteFilter
java.lang.Object
org.xwiki.gwt.wysiwyg.client.plugin.importer.PasteFilter
- Direct Known Subclasses:
- IEPasteFilter, WebKitPasteFilter
public class PasteFilter
- extends Object
Filters the DOM tree generated from the text pasted into a right text area.
Note: The purpose of this filter is not to clean the pasted text but to adjust the DOM tree so that its HTML
serialization can be cleaned on the server side.
- Version:
- $Id: 47b55dd7bbdc043b70c7510da7d16229968c406c $
|
Method Summary |
void |
filter(com.google.gwt.dom.client.Document document)
Filters the given DOM document. |
void |
filter(com.google.gwt.dom.client.Element element)
Filters the given element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasteFilter
public PasteFilter()
filter
public void filter(com.google.gwt.dom.client.Document document)
- Filters the given DOM document.
- Parameters:
document - the DOM document to be filtered
filter
public void filter(com.google.gwt.dom.client.Element element)
- Filters the given element.
- Parameters:
element - the element to be filtered
Copyright © 2004-2013 XWiki. All Rights Reserved.