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.
|
static YangInstanceIdentifier.AugmentationIdentifier |
getNodeIdentifierForAugmentation(AugmentationSchemaNode schema)
Deprecated.
|
void |
write(NormalizedNodeStreamWriter writer)
Emit this node's events into the specified writer.
|
equals, getAttributes, getSchema, hashCode, provideNodeIdentifier, setAttributespublic CompositeNodeDataWithSchema(T schema)
public void addChild(AbstractNodeDataWithSchema<?> newChild)
public AbstractNodeDataWithSchema<?> addChild(Deque<DataSchemaNode> schemas)
protected final int childSizeHint()
public void write(NormalizedNodeStreamWriter writer) throws IOException
AbstractNodeDataWithSchemawrite in class AbstractNodeDataWithSchema<T extends DataSchemaNode>writer - Target writerIOException - reported when thrown by the writer.@Deprecated public static YangInstanceIdentifier.AugmentationIdentifier getNodeIdentifierForAugmentation(AugmentationSchemaNode schema)
DataSchemaContextNode.augmentationIdentifierFrom(AugmentationSchemaNode) instead.schema - Augmentation schemaNullPointerException - if schema is nullCopyright © 2019 OpenDaylight. All rights reserved.