Index

C D G I J L N R S T X 
All Classes and Interfaces|All Packages|Serialized Form

C

ConverterUtils - Class in io.lighty.codecs.util
A utility class which may be helpful while manipulating with binding independent nodes.

D

DeserializationException - Exception in io.lighty.codecs.util.exception
This exception should be thrown when deserialization problem occurs.
DeserializationException(Throwable) - Constructor for exception io.lighty.codecs.util.exception.DeserializationException
 
deserialize(Reader) - Method in interface io.lighty.codecs.util.NodeConverter
 
deserialize(YangInstanceIdentifier, Reader) - Method in interface io.lighty.codecs.util.NodeConverter
 
deserialize(SchemaNodeIdentifier.Absolute, Reader) - Method in interface io.lighty.codecs.util.NodeConverter
 
deserialize(SchemaInferenceStack.Inference, Reader) - Method in class io.lighty.codecs.util.JsonNodeConverter
Deserializes a given JSON input data into NormalizedNode.
deserialize(SchemaInferenceStack.Inference, Reader) - Method in interface io.lighty.codecs.util.NodeConverter
 
deserialize(SchemaInferenceStack.Inference, Reader) - Method in class io.lighty.codecs.util.XmlNodeConverter
Deserializes a given XML input data into NormalizedNode.

G

getModelContext() - Method in class io.lighty.codecs.util.JsonNodeConverter
 
getModelContext() - Method in interface io.lighty.codecs.util.NodeConverter
 
getModelContext() - Method in class io.lighty.codecs.util.XmlNodeConverter
 
getRpcQName(String) - Static method in class io.lighty.codecs.util.ConverterUtils
Create RPC QName.
getRpcQName(XmlElement) - Static method in class io.lighty.codecs.util.ConverterUtils
This method extracts from the given XmlElement the name and namespace from the first element and creates a QName.
getSchemaNode(EffectiveModelContext, String, String, String) - Static method in class io.lighty.codecs.util.ConverterUtils
Finds the DataSchemaContextNode for the given namespace, revision and local name in EffectiveModelContext.
getSchemaNode(EffectiveModelContext, QName) - Static method in class io.lighty.codecs.util.ConverterUtils
Finds the DataSchemaContextNode for the given QName in EffectiveModelContext.
getSchemaNode(EffectiveModelContext, YangInstanceIdentifier) - Static method in class io.lighty.codecs.util.ConverterUtils
Finds the DataSchemaContextNode for the given YangInstanceIdentifier in EffectiveModelContext.

I

io.lighty.codecs.util - package io.lighty.codecs.util
 
io.lighty.codecs.util.exception - package io.lighty.codecs.util.exception
 

J

JsonNodeConverter - Class in io.lighty.codecs.util
The implementation of NodeConverter which serializes and deserializes binding independent representation into/from JSON representation.
JsonNodeConverter(EffectiveModelContext) - Constructor for class io.lighty.codecs.util.JsonNodeConverter
This constructor will create an instance of JsonNodeConverter with the given EffectiveModelContext.
JsonNodeConverter(EffectiveModelContext, JSONCodecFactorySupplier) - Constructor for class io.lighty.codecs.util.JsonNodeConverter
This constructor will create an instance of JsonNodeConverter with the given EffectiveModelContext and customizable JSONCodecFactorySupplier.

L

loadNotification(EffectiveModelContext, QName) - Static method in class io.lighty.codecs.util.ConverterUtils
Utility method to extract the SchemaNode for the given Notification.
loadRpc(EffectiveModelContext, QName) - Static method in class io.lighty.codecs.util.ConverterUtils
Returns the RpcDefinition from the given EffectiveModelContext and given QName.

N

NodeConverter - Interface in io.lighty.codecs.util
This interface may be useful when (de)serializing NormalizedNodes (from)into its XML or JSON representation.

R

rpcAsInput(XmlElement) - Static method in class io.lighty.codecs.util.ConverterUtils
 
rpcAsInput(XmlElement, String) - Static method in class io.lighty.codecs.util.ConverterUtils
Removes the first XML tag and replaces it with an <input> element.
rpcAsOutput(XmlElement) - Static method in class io.lighty.codecs.util.ConverterUtils
Calls the method ConverterUtils.rpcAsOutput(XmlElement, String) with an empty namespace.
rpcAsOutput(XmlElement, String) - Static method in class io.lighty.codecs.util.ConverterUtils
Removes the first XML tag and replaces it with an <output> element.

S

SerializationException - Exception in io.lighty.codecs.util.exception
This exception should be thrown when serialization problem occurs.
SerializationException(Throwable) - Constructor for exception io.lighty.codecs.util.exception.SerializationException
 
serializeData(NormalizedNode) - Method in interface io.lighty.codecs.util.NodeConverter
 
serializeData(YangInstanceIdentifier, NormalizedNode) - Method in interface io.lighty.codecs.util.NodeConverter
 
serializeData(SchemaNodeIdentifier.Absolute, NormalizedNode) - Method in interface io.lighty.codecs.util.NodeConverter
 
serializeData(SchemaInferenceStack.Inference, NormalizedNode) - Method in class io.lighty.codecs.util.JsonNodeConverter
Serializes the given NormalizedNode into its Writer representation.
serializeData(SchemaInferenceStack.Inference, NormalizedNode) - Method in interface io.lighty.codecs.util.NodeConverter
 
serializeData(SchemaInferenceStack.Inference, NormalizedNode) - Method in class io.lighty.codecs.util.XmlNodeConverter
Serializes the given NormalizedNode into its Writer representation.
serializeRpc(YangInstanceIdentifier, NormalizedNode) - Method in interface io.lighty.codecs.util.NodeConverter
 
serializeRpc(SchemaNodeIdentifier.Absolute, NormalizedNode) - Method in interface io.lighty.codecs.util.NodeConverter
 
serializeRpc(SchemaInferenceStack.Inference, NormalizedNode) - Method in class io.lighty.codecs.util.JsonNodeConverter
 
serializeRpc(SchemaInferenceStack.Inference, NormalizedNode) - Method in interface io.lighty.codecs.util.NodeConverter
Serializes the input/output NormalizedNode of a RPC into its string representation.
serializeRpc(SchemaInferenceStack.Inference, NormalizedNode) - Method in class io.lighty.codecs.util.XmlNodeConverter
 

T

toInference(YangInstanceIdentifier, EffectiveModelContext) - Static method in class io.lighty.codecs.util.ConverterUtils
Converts provided YangInstanceIdentifier to SchemaInferenceStack.Inference.

X

XmlNodeConverter - Class in io.lighty.codecs.util
The implementation of NodeConverter which serializes and deserializes binding independent representation into/from XML representation.
XmlNodeConverter(EffectiveModelContext) - Constructor for class io.lighty.codecs.util.XmlNodeConverter
The only constructor will create an instance of XmlNodeConverter with the given EffectiveModelContext.
C D G I J L N R S T X 
All Classes and Interfaces|All Packages|Serialized Form