@Beta public abstract class AbstractNodeDataWithSchema<T extends DataSchemaNode> extends Object
Constructor and Description |
---|
AbstractNodeDataWithSchema(T schema) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<QName,String> |
getAttributes()
Return the associated attributes.
|
T |
getSchema()
Return the associated schema node.
|
int |
hashCode() |
protected YangInstanceIdentifier.NodeIdentifier |
provideNodeIdentifier() |
void |
setAttributes(Map<QName,String> attributes)
Set the associated attributes.
|
abstract void |
write(NormalizedNodeStreamWriter writer)
Emit this node's events into the specified writer.
|
public AbstractNodeDataWithSchema(T schema)
public final T getSchema()
public final void setAttributes(Map<QName,String> attributes)
attributes
- parsed attributespublic final Map<QName,String> getAttributes()
public abstract void write(NormalizedNodeStreamWriter writer) throws IOException
writer
- Target writerIOException
- reported when thrown by the writer.protected final YangInstanceIdentifier.NodeIdentifier provideNodeIdentifier()
Copyright © 2019 OpenDaylight. All rights reserved.