* <ul>
* <li> implementation of statement context which provides the information necessary for creation of declared and
* effective statements</li>
- * <li> custom statement parser builder
- * {@link org.opendaylight.yangtools.yang.parser.stmt.reactor.CustomStatementParserBuilder} which provides methods and
- * implementation useful for building of custom statement parser</li>
* <li> entry point to the parsing process provided by the cross source statement reactor
* {@link org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor}</li>
* </ul>
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package org.opendaylight.yangtools.yang.parser.stmt.reactor;
+package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ext;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Table;
import org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport;
import org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupportBundle;
import org.opendaylight.yangtools.yang.parser.spi.validation.ValidationBundlesNamespace.ValidationBundleType;
+import org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor;
import org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor.Builder;
import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YangInferencePipeline;
* bundle of supported verions
*/
public CustomStatementParserBuilder(final Set<YangVersion> supportedVersions) {
- reactorSupportBundles = ImmutableMap.<ModelProcessingPhase, StatementSupportBundle.Builder>builder()
+ reactorSupportBundles = ImmutableMap.<ModelProcessingPhase, StatementSupportBundle.Builder> builder()
.put(ModelProcessingPhase.INIT, StatementSupportBundle.builder(supportedVersions))
.put(ModelProcessingPhase.SOURCE_PRE_LINKAGE, StatementSupportBundle.builder(supportedVersions))
.put(ModelProcessingPhase.SOURCE_LINKAGE, StatementSupportBundle.builder(supportedVersions))
--- /dev/null
+/*
+ * Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+/**
+ * Provides builders and classes necessary for customization of yang stmt parser
+ * (e.g. add support for an third-party extension etc.).
+ * {@link CustomStatementParserBuilder} is designed for building a custom yang
+ * statement parser with extended support for a custom statement or yang
+ * extension.
+ */
+package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ext;
\ No newline at end of file
import org.opendaylight.yangtools.yang.parser.spi.meta.ModelProcessingPhase;
import org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor;
-import org.opendaylight.yangtools.yang.parser.stmt.reactor.CustomStatementParserBuilder;
+import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.ext.CustomStatementParserBuilder;
public final class CustomInferencePipeline {
public static final CrossSourceStatementReactor CUSTOM_REACTOR = new CustomStatementParserBuilder()