@SuppressWarnings({ "unchecked", "rawtypes" }) private NormalizedNodeContainerBuilder addDataContainerChildren( final NormalizedNodeContainerBuilder builder) throws IOException { LOG.trace("Reading data container (leaf nodes) nodes"); NormalizedNode<?, ?> child = readNormalizedNodeInternal(); while (child != null) { builder.addChild(child); child = readNormalizedNodeInternal(); } return builder; }
@SuppressWarnings("unchecked") private ListNodeBuilder<Object, LeafSetEntryNode<Object>> addLeafSetChildren(final QName nodeType, final ListNodeBuilder<Object, LeafSetEntryNode<Object>> builder) throws IOException { LOG.trace("Reading children of leaf set"); lastLeafSetQName = nodeType; LeafSetEntryNode<Object> child = (LeafSetEntryNode<Object>)readNormalizedNodeInternal(); while (child != null) { builder.withChild(child); child = (LeafSetEntryNode<Object>)readNormalizedNodeInternal(); } return builder; }
@SuppressWarnings("unchecked") private ListNodeBuilder<Object, LeafSetEntryNode<Object>> addLeafSetChildren(final QName nodeType, final ListNodeBuilder<Object, LeafSetEntryNode<Object>> builder) throws IOException { LOG.debug("Reading children of leaf set"); lastLeafSetQName = nodeType; LeafSetEntryNode<Object> child = (LeafSetEntryNode<Object>)readNormalizedNodeInternal(); while(child != null) { builder.withChild(child); child = (LeafSetEntryNode<Object>)readNormalizedNodeInternal(); } return builder; }
@SuppressWarnings({ "unchecked", "rawtypes" }) private NormalizedNodeContainerBuilder addDataContainerChildren( final NormalizedNodeContainerBuilder builder) throws IOException { LOG.debug("Reading data container (leaf nodes) nodes"); NormalizedNode<?, ?> child = readNormalizedNodeInternal(); while(child != null) { builder.addChild(child); child = readNormalizedNodeInternal(); } return builder; }
@Override public NormalizedNode<?, ?> readNormalizedNode() throws IOException { readSignatureMarkerAndVersionIfNeeded(); return readNormalizedNodeInternal(); }
@Override public NormalizedNode<?, ?> readNormalizedNode() throws IOException { readSignatureMarkerAndVersionIfNeeded(); return readNormalizedNodeInternal(); }