Class NetconfRpcParserUtil


  • @Beta
    public final class NetconfRpcParserUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static NetconfRpcReply parseRpcReply​(java.lang.CharSequence xml)
      Parse first rpc-reply contained in the input.
      static NetconfRpcReply parseRpcReply​(javax.xml.stream.XMLStreamReader xsr)
      Parse first rpc-reply contained in the input.
      static java.lang.String toString​(java.lang.Object xml)
      Converts XML object into a String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parseRpcReply

        public static NetconfRpcReply parseRpcReply​(java.lang.CharSequence xml)
        Parse first rpc-reply contained in the input.
        Parameters:
        xml - input
        Returns:
        NetconfRpcReply or null on error
      • parseRpcReply

        public static NetconfRpcReply parseRpcReply​(javax.xml.stream.XMLStreamReader xsr)
        Parse first rpc-reply contained in the input.
        Parameters:
        xsr - input
        Returns:
        NetconfRpcReply or null on error
      • toString

        @Beta
        public static java.lang.String toString​(java.lang.Object xml)
        Converts XML object into a String.
        Parameters:
        xml - Object (e.g., DOM Node)
        Returns:
        String representation of xml or empty on error.