public class NullContentAdapter extends java.lang.Object implements IContentAdapter
IElements.| Modifier and Type | Field and Description |
|---|---|
static IContentAdapter |
INSTANCE
The sole instance of the null content adapter.
|
| Modifier and Type | Method and Description |
|---|---|
IElement |
adapt(java.lang.Object element)
Returns the
IElement that corresponds to the given element. |
java.lang.Object |
getCorrespondingElement(IElement element)
Returns the element that corresponds to the given
IElement. |
public static final IContentAdapter INSTANCE
public IElement adapt(java.lang.Object element)
IContentAdapterIElement that corresponds to the given element.adapt in interface IContentAdapterelement - may be nullIElement, or null if nonepublic java.lang.Object getCorrespondingElement(IElement element)
IContentAdapterIElement.getCorrespondingElement in interface IContentAdapterelement - an IElement (may be null)null if noneCopyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0