public class CompositeNodeDataWithSchema<T extends DataSchemaNode> extends AbstractNodeDataWithSchema<T>
Represents a node which is composed of multiple simpler nodes.
Constructor and Description |
---|
CompositeNodeDataWithSchema(T schema) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(AbstractNodeDataWithSchema<?> newChild) |
AbstractNodeDataWithSchema<?> |
addChild(Deque<DataSchemaNode> schemas) |
protected int |
childSizeHint()
Return a hint about how may children we are going to generate.
|
void |
write(NormalizedNodeStreamWriter writer,
NormalizedMetadataStreamWriter metaWriter) |
equals, getAttributes, getSchema, hashCode, provideNodeIdentifier, setAttributes, write, writeMetadata
public CompositeNodeDataWithSchema(T schema)
public void addChild(AbstractNodeDataWithSchema<?> newChild)
public AbstractNodeDataWithSchema<?> addChild(Deque<DataSchemaNode> schemas)
protected final int childSizeHint()
public void write(NormalizedNodeStreamWriter writer, NormalizedMetadataStreamWriter metaWriter) throws IOException
write
in class AbstractNodeDataWithSchema<T extends DataSchemaNode>
IOException
Copyright © 2019 OpenDaylight. All rights reserved.