Index
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
XmlElementthe name and namespace from the first element and creates aQName. - getSchemaNode(EffectiveModelContext, String, String, String) - Static method in class io.lighty.codecs.util.ConverterUtils
-
Finds the
DataSchemaContextNodefor the given namespace, revision and local name inEffectiveModelContext. - getSchemaNode(EffectiveModelContext, QName) - Static method in class io.lighty.codecs.util.ConverterUtils
-
Finds the
DataSchemaContextNodefor the givenQNameinEffectiveModelContext. - getSchemaNode(EffectiveModelContext, YangInstanceIdentifier) - Static method in class io.lighty.codecs.util.ConverterUtils
-
Finds the
DataSchemaContextNodefor the givenYangInstanceIdentifierinEffectiveModelContext.
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
NodeConverterwhich 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
JsonNodeConverterwith the givenEffectiveModelContext. - JsonNodeConverter(EffectiveModelContext, JSONCodecFactorySupplier) - Constructor for class io.lighty.codecs.util.JsonNodeConverter
-
This constructor will create an instance of
JsonNodeConverterwith the givenEffectiveModelContextand customizableJSONCodecFactorySupplier.
L
- loadNotification(EffectiveModelContext, QName) - Static method in class io.lighty.codecs.util.ConverterUtils
-
Utility method to extract the
SchemaNodefor the given Notification. - loadRpc(EffectiveModelContext, QName) - Static method in class io.lighty.codecs.util.ConverterUtils
-
Returns the
RpcDefinitionfrom the givenEffectiveModelContextand givenQName.
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
NormalizedNodeinto itsWriterrepresentation. - 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
NormalizedNodeinto itsWriterrepresentation. - 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
NormalizedNodeof 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
YangInstanceIdentifiertoSchemaInferenceStack.Inference.
X
- XmlNodeConverter - Class in io.lighty.codecs.util
-
The implementation of
NodeConverterwhich 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
XmlNodeConverterwith the givenEffectiveModelContext.
All Classes and Interfaces|All Packages|Serialized Form