Class XmlNodeConverter

    • Constructor Summary

      Constructors 
      Constructor Description
      XmlNodeConverter​(org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext)
      The only constructor will create an instance of XmlNodeConverter with the given SchemaContext.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void closeQuietly​(XMLStreamReader xmlStreamReader)
      This method is similar to the Closeables.closeQuietly(Reader) or other 'closeQuietly methods.
      org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> deserialize​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, Reader inputData)
      This method deserializes the provided XML string representation (via Reader) interface into NormalizedNodes.
      Writer serializeData​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizedNode)
      This method serializes the given NormalizedNode into its XML string representation.
      Writer serializeRpc​(org.opendaylight.yangtools.yang.model.api.SchemaNode schemaNode, org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<?,​?> normalizedNode)
      This method serializes the input or output of a RPC given as NormalizedNode representation into XML string representation.