public abstract class DynamicConverter<E> extends FormattingConverter<E> implements LifeCycle, ContextAware
Constructor and Description |
---|
DynamicConverter() |
Modifier and Type | Method and Description |
---|---|
void |
addError(java.lang.String msg) |
void |
addError(java.lang.String msg,
java.lang.Throwable ex) |
void |
addInfo(java.lang.String msg) |
void |
addInfo(java.lang.String msg,
java.lang.Throwable ex) |
void |
addStatus(Status status) |
void |
addWarn(java.lang.String msg) |
void |
addWarn(java.lang.String msg,
java.lang.Throwable ex) |
Context |
getContext() |
java.lang.String |
getFirstOption()
Return the first option passed to this component.
|
boolean |
isStarted() |
void |
setContext(Context context) |
void |
setOptionList(java.util.List<java.lang.String> optionList) |
void |
start()
Components that depend on options passed during configuration can override
this method in order to make appropriate use of those options.
|
void |
stop() |
getFormattingInfo, setFormattingInfo, write
public void start()
public void setOptionList(java.util.List<java.lang.String> optionList)
public java.lang.String getFirstOption()
public void setContext(Context context)
setContext
in interface ContextAware
public Context getContext()
getContext
in interface ContextAware
public void addStatus(Status status)
addStatus
in interface ContextAware
public void addInfo(java.lang.String msg)
addInfo
in interface ContextAware
public void addInfo(java.lang.String msg, java.lang.Throwable ex)
addInfo
in interface ContextAware
public void addWarn(java.lang.String msg)
addWarn
in interface ContextAware
public void addWarn(java.lang.String msg, java.lang.Throwable ex)
addWarn
in interface ContextAware
public void addError(java.lang.String msg)
addError
in interface ContextAware
public void addError(java.lang.String msg, java.lang.Throwable ex)
addError
in interface ContextAware
Copyright © 2010 - 2020 Adobe. All Rights Reserved