Class MaxAccessStatementSupport
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
-
- org.opendaylight.yangtools.rfc6643.parser.MaxAccessStatementSupport
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
,StatementFactory<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
,StatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
@Beta public final class MaxAccessStatementSupport extends BaseStatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
StatementSupport.CopyPolicy
-
-
Method Summary
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStatementSupport
buildEffectiveSubstatements, createDeclared, createEffective, findFirstArgument, findFirstStatement, statementsToBuild
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport
applyCopyPolicy, getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
adaptArgumentValue, getArgumentDefinition, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, isIgnoringConfig, isIgnoringIfFeatures
-
-
-
-
Method Detail
-
getInstance
public static MaxAccessStatementSupport getInstance()
-
parseArgumentValue
public MaxAccess parseArgumentValue(StmtContext<?,?,?> ctx, String value)
Description copied from interface:StatementSupport
Parses textual representation of argument in object representation.- Parameters:
ctx
- Context, which may be used to access source-specific namespaces required for parsing.value
- String representation of value, as was present in text source.- Returns:
- Parsed value
-
internArgument
public String internArgument(String rawArgument)
Description copied from interface:StatementSupport
Given a raw string representation of an argument, try to use a shared representation.- Parameters:
rawArgument
- Argument string- Returns:
- A potentially-shard instance
-
getSubstatementValidator
protected SubstatementValidator getSubstatementValidator()
Description copied from class:AbstractStatementSupport
Returns corresponding substatement validator of a statement support.- Specified by:
getSubstatementValidator
in classAbstractStatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
- Returns:
- substatement validator or null, if substatement validator is not defined
-
createDeclared
protected MaxAccessStatement createDeclared(StmtContext<MaxAccess,MaxAccessStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
- Specified by:
createDeclared
in classBaseStatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
-
createEmptyDeclared
protected MaxAccessStatement createEmptyDeclared(StmtContext<MaxAccess,MaxAccessStatement,?> ctx)
- Specified by:
createEmptyDeclared
in classBaseStatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
-
createEffective
protected MaxAccessEffectiveStatement createEffective(StmtContext<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement> ctx, MaxAccessStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
- Specified by:
createEffective
in classBaseStatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
-
createEmptyEffective
protected MaxAccessEffectiveStatement createEmptyEffective(StmtContext<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement> ctx, MaxAccessStatement declared)
- Specified by:
createEmptyEffective
in classBaseStatementSupport<MaxAccess,MaxAccessStatement,MaxAccessEffectiveStatement>
-
-