public class AdapterContext extends AttributeSupport implements AdapterContextAware
| Modifier and Type | Field and Description |
|---|---|
protected static AdapterContext |
INSTANCE |
ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_INITAT, CB, CC, CLP, COLN, COMA, CP, DOT, DQ, EMPTY, EQ, EXTENDS, GT, IMPLEMENTS, INDENT, JAVA_LANG, JAVA_LANG_ENUM, JAVA_LANG_OBJECT, JAVA_LANG_STRING, LT, NEWLINE, NEWLINE_PATTERN, OB, OC, OP, Q, SEMICOLN, SEMICOLN_SUFFIX_PATTERN, SPACE, STAR, THROWS, VARARG| Modifier and Type | Method and Description |
|---|---|
static AdapterContext |
create(DefinitionRepository definitionRepository) |
static AdapterContext |
create(DefinitionRepository definitionRepository,
Map<AttributeKey,Object> attributes) |
AdapterContext |
getAdapterContext() |
static AdapterContext |
getContext() |
DefinitionRepository |
getDefinitionRepository() |
getAttribute, getAttributes, hasAttributeprotected static AdapterContext INSTANCE
public static AdapterContext create(DefinitionRepository definitionRepository)
public static AdapterContext create(DefinitionRepository definitionRepository, Map<AttributeKey,Object> attributes)
public static AdapterContext getContext()
public DefinitionRepository getDefinitionRepository()
public AdapterContext getAdapterContext()
getAdapterContext in interface AdapterContextAwareCopyright © 2023. All rights reserved.