nl.lxtreme.ols.util.export
Class NullMacroResolver
java.lang.Object
nl.lxtreme.ols.util.export.NullMacroResolver
- All Implemented Interfaces:
- ExportUtils.HtmlExporter.MacroResolver
public class NullMacroResolver
- extends Object
- implements ExportUtils.HtmlExporter.MacroResolver
Provides a macro resolver that returns always null
for each
given macro.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullMacroResolver
public NullMacroResolver()
resolve
public Object resolve(String aMacro,
ExportUtils.HtmlExporter.Element aParent)
- Description copied from interface:
ExportUtils.HtmlExporter.MacroResolver
- Resolves the result for a given macro string, found in the given
"parent" element.
- Specified by:
resolve
in interface ExportUtils.HtmlExporter.MacroResolver
- Parameters:
aMacro
- the macro string to resolve, cannot be null
;aParent
- the parent element containing the macro, cannot be
null
.
- Returns:
- the result of the macro, can be
null
if no result
is available. - See Also:
ExportUtils.HtmlExporter.MacroResolver.resolve(java.lang.String,
nl.lxtreme.ols.util.ExportUtils.HtmlExporter.Element)
Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.