public class NullContentAdapter extends java.lang.Object implements IContentAdapter
IElement
s.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)
IContentAdapter
IElement
that corresponds to the given element.adapt
in interface IContentAdapter
element
- may be null
IElement
, or null
if nonepublic java.lang.Object getCorrespondingElement(IElement element)
IContentAdapter
IElement
.getCorrespondingElement
in interface IContentAdapter
element
- an IElement
(may be null
)null
if noneCopyright (c) 2014, 2019 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0