public class StatementDefinitionContext<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> extends Object
Constructor and Description |
---|
StatementDefinitionContext(StatementSupport<A,D,E> support) |
Modifier and Type | Method and Description |
---|---|
A |
adaptArgumentValue(StmtContext<A,D,E> context,
QNameModule targetModule) |
protected com.google.common.base.MoreObjects.ToStringHelper |
addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper) |
void |
checkNamespaceAllowed(Class<? extends IdentifierNamespace<?,?>> namespace) |
QName |
getArgumentName() |
@NonNull StatementFactory<A,D,E> |
getFactory() |
Optional<StatementSupport<?,?,?>> |
getImplicitParentFor(StatementDefinition stmtDef) |
@NonNull StatementDefinition |
getPublicView() |
@NonNull Class<?> |
getRepresentingClass() |
@NonNull QName |
getStatementName() |
boolean |
hasArgument() |
boolean |
isArgumentYinElement() |
void |
onDeclarationFinished(StmtContext.Mutable<A,D,E> statement,
ModelProcessingPhase phase) |
boolean |
onStatementAdded(StmtContext.Mutable<A,D,E> stmt) |
A |
parseArgumentValue(StmtContext<A,D,E> context,
String value) |
String |
toString() |
public StatementDefinitionContext(StatementSupport<A,D,E> support)
public @NonNull StatementFactory<A,D,E> getFactory()
public A adaptArgumentValue(StmtContext<A,D,E> context, QNameModule targetModule)
public void checkNamespaceAllowed(Class<? extends IdentifierNamespace<?,?>> namespace)
public @NonNull StatementDefinition getPublicView()
public Optional<StatementSupport<?,?,?>> getImplicitParentFor(StatementDefinition stmtDef)
public boolean onStatementAdded(StmtContext.Mutable<A,D,E> stmt)
public void onDeclarationFinished(StmtContext.Mutable<A,D,E> statement, ModelProcessingPhase phase)
public @NonNull Class<?> getRepresentingClass()
public boolean hasArgument()
public boolean isArgumentYinElement()
public @NonNull QName getStatementName()
public QName getArgumentName()
protected com.google.common.base.MoreObjects.ToStringHelper addToStringAttributes(com.google.common.base.MoreObjects.ToStringHelper toStringHelper)
Copyright © 2019 OpenDaylight. All rights reserved.