@Beta public abstract class AbstractNodeDataWithSchema extends Object
Constructor and Description |
---|
AbstractNodeDataWithSchema(DataSchemaNode schema) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<QName,String> |
getAttributes()
Return the associated attributes.
|
DataSchemaNode |
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(DataSchemaNode schema)
public final DataSchemaNode 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.