public Object getAdapter(Class key) {
if (IPropertySource.class == key) {
if (node instanceof IDOMNode) {
INodeNotifier source = (INodeNotifier) node;
IPropertySource propertySource = (IPropertySource) source
.getAdapterFor(IPropertySource.class);
if (propertySource == null) {
propertySource = new XMLPropertySource(
(INodeNotifier) source);
return new WebflowElementPropertySource(propertySource);