+ private static final Logger LOG = LoggerFactory.getLogger(AugmentStatementImpl.class);
+ private static final Pattern PATH_REL_PATTERN1 = Pattern.compile("\\.\\.?\\s*/(.+)");
+ private static final Pattern PATH_REL_PATTERN2 = Pattern.compile("//.*");
+ private static final SubstatementValidator SUBSTATEMENT_VALIDATOR = SubstatementValidator
+ .builder(Rfc6020Mapping.AUGMENT)
+ .add(Rfc6020Mapping.ANYXML, 0, MAX)
+ .add(Rfc6020Mapping.CASE, 0, MAX)
+ .add(Rfc6020Mapping.CHOICE, 0, MAX)
+ .add(Rfc6020Mapping.CONTAINER, 0, MAX)
+ .add(Rfc6020Mapping.DESCRIPTION, 0, 1)
+ .add(Rfc6020Mapping.IF_FEATURE, 0, MAX)
+ .add(Rfc6020Mapping.LEAF, 0, MAX)
+ .add(Rfc6020Mapping.LEAF_LIST, 0, MAX)
+ .add(Rfc6020Mapping.LIST, 0, MAX)
+ .add(Rfc6020Mapping.REFERENCE, 0, 1)
+ .add(Rfc6020Mapping.STATUS, 0, 1)
+ .add(Rfc6020Mapping.USES, 0, MAX)
+ .add(Rfc6020Mapping.WHEN, 0, 1)
+ .build();
+
+ protected AugmentStatementImpl(final StmtContext<SchemaNodeIdentifier, AugmentStatement, ?> context) {