public class PasteFilter extends Object
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.
| Constructor and Description |
|---|
PasteFilter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public void filter(com.google.gwt.dom.client.Document document)
document - the DOM document to be filteredpublic void filter(com.google.gwt.dom.client.Element element)
element - the element to be filteredCopyright © 2004–2017 XWiki. All rights reserved.