/**
* Removes the BindingListener from the XBLManager.
*/
public void removeBindingListener() {
AbstractDocument doc = (AbstractDocument) document;
XBLManager xm = doc.getXBLManager();
if (xm instanceof DefaultXBLManager) {
DefaultXBLManager dxm = (DefaultXBLManager) xm;
dxm.removeBindingListener(bindingListener);
dxm.removeContentSelectionChangedListener(contentListener);
}