X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-data-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fdata%2Fapi%2Fschema%2Fstream%2FNormalizedNodeStreamAttributeWriter.java;h=f28d75c82fe440a32bcf956f4ba9d56cfa256726;hb=f7fe89b85f540dbe7d1fc051f2082f2ce571321a;hp=ca0e3428bbc1a92fa8b317f0a88c8559b0cd794e;hpb=e1a3876862c946f484edd03c0012575037a32d03;p=yangtools.git diff --git a/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeStreamAttributeWriter.java b/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeStreamAttributeWriter.java index ca0e3428bb..f28d75c82f 100644 --- a/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeStreamAttributeWriter.java +++ b/yang/yang-data-api/src/main/java/org/opendaylight/yangtools/yang/data/api/schema/stream/NormalizedNodeStreamAttributeWriter.java @@ -17,13 +17,15 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; */ public interface NormalizedNodeStreamAttributeWriter extends NormalizedNodeStreamWriter { - void leafNode(YangInstanceIdentifier.NodeIdentifier name, Object value, Map attributes) throws IOException, IllegalArgumentException; + void leafNode(YangInstanceIdentifier.NodeIdentifier name, Object value, Map attributes) throws IOException; - void leafSetEntryNode(Object value, Map attributes) throws IOException, IllegalArgumentException; + void leafSetEntryNode(QName name, Object value, Map attributes) throws IOException; - void startContainerNode(YangInstanceIdentifier.NodeIdentifier name, int childSizeHint, Map attributes) throws IOException, IllegalArgumentException; + void startContainerNode(YangInstanceIdentifier.NodeIdentifier name, int childSizeHint, Map attributes) throws IOException; - void startUnkeyedListItem(YangInstanceIdentifier.NodeIdentifier name, int childSizeHint, Map attributes) throws IOException, IllegalStateException; + void startYangModeledAnyXmlNode(YangInstanceIdentifier.NodeIdentifier name, int childSizeHint, Map attributes) throws IOException; - void startMapEntryNode(YangInstanceIdentifier.NodeIdentifierWithPredicates identifier, int childSizeHint, Map attributes) throws IOException, IllegalArgumentException; + void startUnkeyedListItem(YangInstanceIdentifier.NodeIdentifier name, int childSizeHint, Map attributes) throws IOException; + + void startMapEntryNode(YangInstanceIdentifier.NodeIdentifierWithPredicates identifier, int childSizeHint, Map attributes) throws IOException; }