public interface IMicroTypeConverter
| Modifier and Type | Method and Description |
|---|---|
IMicroElement |
convertToMicroElement(Object aObject,
String sNamespaceURI,
String sTagName)
Convert the passed object to a micro element using the specified tag name
|
Object |
convertToNative(IMicroElement aElement)
Convert the passed object to a native element.
|
@Nullable IMicroElement convertToMicroElement(@Nonnull Object aObject, @Nullable String sNamespaceURI, @Nonnull @Nonempty String sTagName)
aObject - The object to be converted. May not be null.sNamespaceURI - The namespace URI for the element to be created. May be
null.sTagName - The tag name to be used. May neither be null nor empty.null in case creation failed. A micro element with the
specified namespace and tag name otherwise.@Nullable Object convertToNative(@Nonnull IMicroElement aElement)
aElement - The micro element to be converted.null if conversion to a native object failed.Copyright © 2014–2016 Philip Helger. All rights reserved.