throws IOException, IllegalArgumentException {
Preconditions.checkNotNull(name, "Node identifier should not be null");
- LOG.debug("Starting a new container node");
+ LOG.trace("Starting a new container node");
startNode(name.getNodeType(), NodeTypes.CONTAINER_NODE);
}
public void startOrderedMapNode(final NodeIdentifier name, final int childSizeHint)
throws IOException, IllegalArgumentException {
Preconditions.checkNotNull(name, "Node identifier should not be null");
- LOG.debug("Starting a new ordered map node");
+ LOG.trace("Starting a new ordered map node");
startNode(name.getNodeType(), NodeTypes.ORDERED_MAP_NODE);
}
@Override
public void endNode() throws IOException, IllegalStateException {
LOG.trace("Ending the node");
-
+ lastLeafSetQName = null;
output.writeByte(NodeTypes.END_NODE);
}
case ValueTypes.YANG_IDENTIFIER_TYPE:
writeYangInstanceIdentifierInternal((YangInstanceIdentifier) value);
break;
- case ValueTypes.NULL_TYPE :
+ case ValueTypes.EMPTY_TYPE:
break;
case ValueTypes.STRING_BYTES_TYPE:
final byte[] valueBytes = value.toString().getBytes(StandardCharsets.UTF_8);